SmokeTM
416
8
Laravel

Form model binding in 5.7

Posted 7 months ago by SmokeTM

How should I bind my model to the form in laravel 5.7? I cant use laravelcollective because the newest version is for 5.4.

An approach I used before:

<input type="text" readonly class="form-control-plaintext"  value="{{ $user->firstname }}">

But I dont know if that is best practice.

best

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