{!! 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']) !!}
@if(($mode=="show") && ($user->hasRole("ADMINISTRATEUR") || $user->can("PER_MAJ"))) Modifierbutton('Enregistrer')->value('Enregistrer')->type('submit')->attributes(['class' => 'btn btn-primary']) !!} @endif @if(($mode=="show") && ($user->hasRole("ADMINISTRATEUR") || $user->can("PER_SUP"))) {{ html()->form('DELETE', url('/permissions/'. $permission->id))->open() }}   {{ html()->form()->close() }} @endif  Retour