Skip to content

Commit

Permalink
work on docs
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Jul 3, 2015
1 parent f7889a7 commit 3d94725
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions helpers.md
Original file line number Diff line number Diff line change
Expand Up @@ -693,9 +693,11 @@ The `factory` function creates a model factory builder for a given class, name,
<a name="method-method-field"></a>
#### `method_field()` {#collection-method}

The `method_field` function generates an HTML `hidden` input field containing the spoofed value of the form type. For example, using [Blade syntax](/docs/{{version}}/blade):
The `method_field` function generates an HTML `hidden` input field containing the spoofed value of the form's HTTP verb. For example, using [Blade syntax](/docs/{{version}}/blade):

{!! method_field('delete') !!}
<form method="POST">
{!! method_field('delete') !!}
</form>

<a name="method-old"></a>
#### `old()` {#collection-method}
Expand Down

0 comments on commit 3d94725

Please sign in to comment.