From e684aa3c00b458a801734c49d59fb0cf1e414914 Mon Sep 17 00:00:00 2001 From: Maksim Surguy Date: Mon, 1 Oct 2012 11:18:10 -0700 Subject: [PATCH] Added file input form element docs The file input is in the API but not in the documentation. --- laravel/documentation/views/forms.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/laravel/documentation/views/forms.md b/laravel/documentation/views/forms.md index 7efaed24..cee6287a 100644 --- a/laravel/documentation/views/forms.md +++ b/laravel/documentation/views/forms.md @@ -6,6 +6,7 @@ ## Contents - [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 @@ #### Generating a checkbox that is checked by default: > **Note:** The *radio* method has the same signature as the *checkbox* method. Two for one! + +## File Input + +#### Generate a file input element: + + echo Form::file('image'); + ## Drop-Down Lists