@if ($localAuthority->exists) {!! Form::open([ 'id' => 'localAuthorityForm', 'method' => 'PATCH', 'route' => ['local-authorities.update', $localAuthority->id], ]) !!} @else {!! Form::open([ 'id' => 'localAuthorityForm', 'method' => 'POST', 'route' => 'local-authorities.store', ]) !!} @endif
{!! Form::text('name', $localAuthority->name, [ 'placeholder' => 'Name', ]) !!}
{!! Form::close() !!}