{!! html()->modelForm($user_data, 'POST' , route('updateProfile'))->attribute('enctype', 'multipart/form-data')->attribute('data-toggle', 'validator')->id('user-form')->open() !!} {!! html()->hidden('username') !!} {!! html()->hidden('email') !!} {!! html()->hidden('id' ,null)->placeholder('id')->class('form-control') !!}
{!! html()->label(__('message.name').' *')->for('name')->class('form-control-label') !!} {!! html()->text('name', old('name'))->class('form-control')->placeholder(__('message.name'))->required() !!}
{!! html()->label(__('message.username').' *')->for('username')->class('form-control-label') !!} {!! html()->text('username', old('username'))->class('form-control')->placeholder(__('message.username'))->required() !!}
{!! html()->label(__('message.email').' *')->for('email')->class('form-control-label') !!} {!! html()->email('email', old('email'))->class('form-control')->placeholder(__('message.email'))->disabled() !!}
{!! html()->label(__('message.contact_number').' *')->for('contact_number')->class('form-control-label') !!} {!! html()->text('contact_number', old('contact_number'))->class('form-control')->placeholder(__('message.contact_number'))->id('phone') !!}
{!! html()->label(__('message.choose_profile_image'))->for('profile_image')->class('form-control-label col-md-12') !!}
{!! html()->file('profile_image')->class('custom-file-input custom-file-input-sm detail')->id('profile_image')->attribute('lang', 'en')->accept('image/*') !!} {!! html()->label(__('message.profile_image'))->for('profile_image')->class('custom-file-label')->id('imagelabel') !!}
{!! html()->label(__('message.address'))->for('address')->class('form-control-label') !!} {!! html()->textarea('address', null)->class('form-control textarea')->placeholder(__('message.address'))->attribute('rows','3') !!}
{!! html()->submit(__('message.update'))->class('btn btn-md btn-primary float-md-right') !!}