Browse Source

Added file input form element docs

The file input is in the API but not in the documentation.
Maksim Surguy 12 years ago
parent
commit
e684aa3c00
1 changed files with 8 additions and 0 deletions
  1. 8 0
      laravel/documentation/views/forms.md

+ 8 - 0
laravel/documentation/views/forms.md

@@ -6,6 +6,7 @@
 - [CSRF Protection](#csrf-protection)
 - [Labels](#labels)
 - [Text, Text Area, Password & Hidden Fields](#text)
+- [File Input](#file)
 - [Checkboxes and Radio Buttons](#checkboxes-and-radio-buttons)
 - [Drop-Down Lists](#drop-down-lists)
 - [Buttons](#buttons)
@@ -114,6 +115,13 @@ Laravel provides an easy method of protecting your application from cross-site r
 
 > **Note:** The *radio* method has the same signature as the *checkbox* method. Two for one!
 
+<a name="file"></a>
+## File Input
+
+#### Generate a file input element:
+
+	echo Form::file('image');
+
 <a name="drop-down-lists"></a>
 ## Drop-Down Lists