@lang('Agents') / @lang('Edit')
{!! Form::model($agent, ['method' => 'POST','class'=>'row','autocomplete'=>'off','route' => ['agent.store', ['id'=>$agent->id]]]) !!}
{!! Form::close() !!}
@if ($errors->has('name'))
{{ $errors->first('name') }}
@endif
@if ($errors->has('email'))
{{ $errors->first('email') }}
@endif
@if ($errors->has('phone_number'))
{{ $errors->first('phone_number') }}
@endif
{!! Form::select('nationality',$country,$agent->nationality, array('id' => 'nationality', 'class' => 'form-control select2', 'placeholder' => trans('Select Country'),'required')) !!}
@if ($errors->has('nationality'))
{{ $errors->first('nationality') }}
@endif
@if ($errors->has('shareOf'))
{{ $errors->first('shareOf') }}
@endif
@if ($errors->has('address'))
{{ $errors->first('address') }}
@endif