{!! Form::model($obit, ['method' => 'PATCH', 'route' => ['paidObits.update', $obit->id], 'files' => true]) !!}
API Docs (reference)
string model(mixed $model, array $options = array())
Good afternoon,
I have an update form for with form model binding looks like this:
{!! Form::model($obit, ['method' => 'PATCH', 'route' => ['paidObits.update', $obit->id]]) !!}
i need to allow file uploads to this form also, not sure how to incorporate the 'files' => true to this form. Not quite sure where to put that so uploads are allowed.
Thanks
{!! Form::model($obit, ['method' => 'PATCH', 'route' => ['paidObits.update', $obit->id], 'files' => true]) !!}
API Docs (reference)
string model(mixed $model, array $options = array())
Please or to participate in this conversation.