@if (count($errors) > 0) @if($errors->any())
{!! Form::close() !!}
{{$errors->first()}}
@endif @endif
{!! Form::open(array('url' =>'admin/updateProfile', 'method'=>'post', 'class' => 'form-horizontal', 'enctype'=>'multipart/form-data')) !!} {!! Form::hidden('myid', Auth::user()->myid, array('class'=>'form-control', 'id'=>'myid'))!!} {!! Form::hidden('oldImage', Auth::user()->image, array('class'=>'form-control', 'id'=>'oldImage'))!!}
{!! Form::text('first_name', Auth::user()->first_name, array('class'=>'form-control', 'id'=>'first_name'))!!}
{{ trans('labels.AdminFirstNameText') }}
{!! Form::text('last_name', Auth::user()->last_name, array('class'=>'form-control', 'id'=>'last_name'))!!}
{{ trans('labels.AdminLastNameText') }}
{!! Form::file('newImage', array('id'=>'newImage' , 'class'=>'form-control')) !!}
{{ trans('labels.PictureText') }}
{{ trans('labels.PictureText') }}
{!! Form::text('city', Auth::user()->city, array('class'=>'form-control', 'id'=>'city'))!!}
{{ trans('labels.CityText') }}
{{ trans('labels.CountryText') }}
{{ trans('labels.SelectZoneText') }}
{!! Form::text('zip', Auth::user()->zip, array('class'=>'form-control', 'id'=>'zip'))!!}
{!! Form::text('phone', Auth::user()->phone, array('class'=>'form-control', 'id'=>'phone'))!!}
{{ trans('labels.PhoneText') }}
{!! Form::text('address', Auth::user()->address, array('class'=>'form-control', 'id'=>'address'))!!}
{{ trans('labels.AddressText') }}
{!! Form::open(array('url' =>'admin/updateAdminPassword', 'onSubmit'=>'return validatePasswordForm()', 'id'=>'updateAdminPassword', 'name'=>'updateAdminPassword' , 'method'=>'post', 'class' => 'form-horizontal', 'enctype'=>'multipart/form-data')) !!}
{{ trans('labels.AdminPasswordRestriction') }}
{{ trans('labels.AdminPasswordRestriction') }}
{!! Form::open(array('url' =>'admin/updateAdminEmail', 'id'=>'updateAdminEmail', 'name'=>'updateAdminEmail' , 'method'=>'post', 'class' => 'form-horizontal', 'enctype'=>'multipart/form-data')) !!}
{!! Form::text('email', Auth::user()->email, array('class'=>'form-control', 'id'=>'email'))!!}
{{ trans('labels.EmailText') }}