Skip to content

Commit e684aa3

Browse files
msurguyjasonlewis
authored andcommitted
Added file input form element docs
The file input is in the API but not in the documentation.
1 parent 8bcfd52 commit e684aa3

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

laravel/documentation/views/forms.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
- [CSRF Protection](#csrf-protection)
77
- [Labels](#labels)
88
- [Text, Text Area, Password & Hidden Fields](#text)
9+
- [File Input](#file)
910
- [Checkboxes and Radio Buttons](#checkboxes-and-radio-buttons)
1011
- [Drop-Down Lists](#drop-down-lists)
1112
- [Buttons](#buttons)
@@ -114,6 +115,13 @@ Laravel provides an easy method of protecting your application from cross-site r
114115

115116
> **Note:** The *radio* method has the same signature as the *checkbox* method. Two for one!
116117
118+
<a name="file"></a>
119+
## File Input
120+
121+
#### Generate a file input element:
122+
123+
echo Form::file('image');
124+
117125
<a name="drop-down-lists"></a>
118126
## Drop-Down Lists
119127

0 commit comments

Comments
 (0)