@if (isset($location)) {{ Form::model($location, ['route' => ['admin.location.update',$location->uuid], 'role' => 'form', 'id'=>'frmLocation', 'method'=>'put']) }} @else {{ Form::model(null, ['route' => ['admin.location.store'], 'role' => 'form', 'id'=>'frmLocation', 'method'=>'post']) }} @endif
{{ Form::label('partner_id','Partner', ['class' => 'required']) }}
{{ Form::label('country_id','Country', ['class' => 'required']) }}
{{ Form::label('state_id','State', ['class' => 'required']) }}
{{ Form::label('name','Location name', ['class' => 'required']) }} {{ Form::text('name', old('name'), ["required"=>true, "class"=>"form-control", "placeholder"=>'Enter your location name', "id"=>"name"]) }}
{{ Form::close() }}