@if (count($errors) > 0)
{!! Form::open(['method' => 'POST','accept-charset' => "UTF-8" ,'role' => 'form' , 'enctype' => 'multipart/form-data' , 'data-parsley-validate' , 'id' => 'demo-form2', 'class' => 'form-horizontal form-label-left','route' => 'place.store']) !!}
{!! Form::close() !!}
Whoops! There were some problems with your input.
@endif
-
@foreach ($errors->all() as $error)
- {{ $error }} @endforeach
Create New Place
{!! Form::open(['method' => 'POST','accept-charset' => "UTF-8" ,'role' => 'form' , 'enctype' => 'multipart/form-data' , 'data-parsley-validate' , 'id' => 'demo-form2', 'class' => 'form-horizontal form-label-left','route' => 'place.store']) !!}
{!! Form::text('place', null, array('placeholder' => 'Place','class' => 'form-control')) !!}
{!! ($errors->has('place') ? $errors->first('place', ':message
') : '') !!}
{!! Form::text('union_council', null, array('placeholder' => 'Union Council','class' => 'form-control')) !!}
{!! Form::hidden('status', 'Active', array('placeholder' => 'Status','class' => 'form-control')) !!}
{!! ($errors->has('union_council') ? $errors->first('union_council', ':message
') : '') !!}
{!! Form::text('police_station', null, array('placeholder' => 'Police Station','class' => 'form-control')) !!}
{!! ($errors->has('police_station') ? $errors->first('police_station', ':message
') : '') !!}
{!! Form::text('tehsil', null, array('placeholder' => 'Tehsil','class' => 'form-control')) !!}
{!! ($errors->has('tehsil') ? $errors->first('tehsil', ':message
') : '') !!}