@if ($errors->any())
@foreach ($errors->all() as $error)
- {{ $error }}
@endforeach
@endif
{!! Form::model($ward, ['method' => 'PATCH', 'action' => ['WardsController@update', $ward->id]]) !!}
{!! Form::label('name', 'Name: ') !!}
{!! Form::text('name', null, ['class' => 'form-control']) !!}
{!! Form::label('code', 'Code: ') !!}
{!! Form::text('code', null, ['class' => 'form-control']) !!}
{!! Form::label('district_id', 'District: ') !!}
{!! Form::select('district_id', $district, null, ['class' => 'form-control']) !!}
{!! Form::submit('Update', ['class' => 'btn btn-primary form-control']) !!}
{!! Form::close() !!}