@include('masters.agent-menu')
{!! Form::open(array('route' =>'agents.create','method' =>'POST','role' =>'form','autocomplete'=>'off','class'=>'row')) !!}
{!! 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
@if ($errors->has('password'))
@php $pmsg = $errors->first('password'); @endphp
@else
@php $pmsg = ''; @endphp
@endif
{!! Form::select('nationality',$country,ip_info()['country_code'], array('id' => 'nationality', 'class' => 'form-control select2', 'placeholder' => trans('Select Country'),'required')) !!}
@if ($errors->has('nationality'))
{{ $errors->first('nationality') }}
@endif
@if ($errors->has('percentage'))
{{ $errors->first('shareOf') }}
@endif
@if ($errors->has('address'))
{{ $errors->first('address') }}
@endif