{!! html()->label( 'Nom','nom') !!} {!! html()->text('nom', null)->placeholder("Nom")->attributes([($mode=="show"?'disabled':''), 'class' => 'form-control']) !!}
{!! html()->label( 'District - Zone','id_district') !!} {!! html()->select('id_district',$districts,null) ->placeholder('A définir') ->attributes([($mode=="show"?'disabled':''),'class' => 'form-control']) !!}
@if($mode=="show") @if($user->hasRole("ADMINISTRATEUR") || $user->can("VIL_MAJ")) Modifier @endif @if($village->IsSupprimable) {{ html()->form('DELETE', url('/villages/'. $village->id))->open() }} {{ html()->form()->close() }} @endif @else {!! html()->button('Enregistrer')->value('Enregistrer')->type('submit')->attributes(['class' => 'btn btn-primary']) !!} @endif Retour