Support the ongoing development of Laravel.io →
posted 10 years ago
Forms
Last updated 2 years ago.
0
{{ Form::model($model) }}

Any form inputs inside the form that match the fields of the model will automatically be populated.

Last updated 2 years ago.
0

Thanks, So I do not have to add the model name ?

Roelof

Edit 1 : I found that on editing this is used

Form::model($user, array('route' => array('user.update', $user->id)))

Edit 2 : On most tutorials form: open is used. Is this a better way then form:model ??/

Last updated 2 years ago.
0

no one who can shine a light on this matter ?

Roelof

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.