Added file input form element docs

The file input is in the API but not in the documentation.
This commit is contained in:
Maksim Surguy 2012-10-01 11:18:10 -07:00 committed by Jason Lewis
parent 8bcfd52233
commit e684aa3c00
1 changed files with 8 additions and 0 deletions

View File

@ -6,6 +6,7 @@ ## Contents
- [CSRF Protection](#csrf-protection) - [CSRF Protection](#csrf-protection)
- [Labels](#labels) - [Labels](#labels)
- [Text, Text Area, Password & Hidden Fields](#text) - [Text, Text Area, Password & Hidden Fields](#text)
- [File Input](#file)
- [Checkboxes and Radio Buttons](#checkboxes-and-radio-buttons) - [Checkboxes and Radio Buttons](#checkboxes-and-radio-buttons)
- [Drop-Down Lists](#drop-down-lists) - [Drop-Down Lists](#drop-down-lists)
- [Buttons](#buttons) - [Buttons](#buttons)
@ -114,6 +115,13 @@ #### Generating a checkbox that is checked by default:
> **Note:** The *radio* method has the same signature as the *checkbox* method. Two for one! > **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> <a name="drop-down-lists"></a>
## Drop-Down Lists ## Drop-Down Lists