@if(isset($id) && !empty($id))
{{ Form::model($userDetail, array('url' => url('/profile/'.$id), 'id'=>'profile_form', 'method' => 'POST','files'=>true,'enctype' => 'multipart/form-data')) }}
@else
{{ Form::open(array('route' => 'user.profile', 'id'=>'profile_form','files'=>true,'enctype' => 'multipart/form-data')) }}
@endif
{{Form::button(' Update', array('type' => 'submit', 'class' => 'btn btn-primary ml-3', "name"=>"profileSaveBtn"))}}
{{ Form::close() }}
@if(isset($id) && !empty($id))
{{ Form::model($userDetail, array('url' => url('/profile/'.$id), 'id'=>'password_form', 'method' => 'POST')) }}
@else
{{ Form::open(array('route' => 'user.profile', 'id'=>'password_form')) }}
@endif
@if(!isset($id) || empty($id))
@endif
{{Form::button(' Update', array('type' => 'submit', 'class' => 'btn btn-primary ml-3', "name"=>"passwordSaveBtn"))}}
{{ Form::close() }}