Using form model binding

Posted 4 years ago by theUnforgiven

I'm using form model binding to edit a form, but I have two tables I need to get data for.

One table has username, password, status the other table has

fullname, address, email, phone etc

So how can I use

 {{ Form::model($user, ['method' => 'PUT', 'route' => ['profile.update', $user->id], 'class' => 'form-horizontal']) }}

To get all data from the two tables?

Please sign in or create an account to participate in this conversation.

Laracasts Mascot

Hi, Have We Met Yet?

Did you know that, in addition to the forum, Laracasts includes well over 1000 lessons on modern web development? All for the price of one lunch out per month.

Sign Me Up


Reply to

Use Markdown with GitHub-flavored code blocks.