Allow files upload in edit profile form for avatar file.

This commit is contained in:
Jose Miguel Bustos Espinoza 2018-04-30 22:25:09 -03:00 committed by Nabeel Shahzad
parent 24a2467338
commit ecf2307542

View File

@ -6,7 +6,7 @@
<div class="col-md-12">
<h2 class="description">edit your profile</h2>
@include('flash::message')
{{ Form::model($user, ['route' => ['frontend.profile.update', $user->id], 'method' => 'patch']) }}
{{ Form::model($user, ['route' => ['frontend.profile.update', $user->id], 'files' => true, 'method' => 'patch']) }}
@include("profile.fields")
{{ Form::close() }}
</div>