{!! html()->label( 'Nom','name') !!} {!! html()->text('name', null)->attributes([($mode=="show"?'disabled':''), 'placeholder' => 'Nom','class' => 'form-control text-uppercase']) !!}
{!! html()->label( 'Nom affiché','display_name') !!} {!! html()->text('display_name', null)->attributes([($mode=="show"?'disabled':''), 'placeholder' => 'Nom affiché','class' => 'form-control']) !!}
{!! html()->label( 'Groupe','id_groupe') !!} {!! html()->select('id_groupe',null) ->options($liste_groupes) ->placeholder("A définir") ->attributes([($mode=="show"?'disabled':''),'class' => 'form-control selectpicker']) !!}
@if($mode!="show")
{!! html()->label( 'ou Nouveau Groupe','new_groupe') !!} {!! html()->text('new_groupe', null)->attributes(['placeholder' => 'Nom du groupe','class' => 'form-control text-uppercase']) !!}
@endif
@if($mode=="show") @if($permission->IsModifiable) Modifier@endif @else {!! html()->button('Enregistrer')->value('Enregistrer')->type('submit')->attributes(['class' => 'btn btn-primary']) !!} @endif @if(($mode=="show") && $permission->IsSupprimable) {{ html()->form('DELETE', url('/permissions/'. $permission->id))->open() }}   {{ html()->form()->close() }} @endif  Retour