{!! html()->label( 'Nom','name') !!} {!! html()->text('name', null)->attributes(['placeholder' => 'Nom','class' => 'form-control text-uppercase']) !!}

Permissions

@php $i=0; @endphp @foreach($liste_groupes as $id_grp=>$nom_grp) @if(($i++)%2==0)
@endif
{!! html()->label( $nom_grp,'permissions') !!}
@if(($i%2==0)||($i==count($liste_groupes)))
@endif @endforeach
@if($mode=="show") @if($role->IsModifiable) Modifier@endif @else {!! html()->button('Enregistrer')->value('Enregistrer')->type('submit')->attributes(['class' => 'btn btn-primary']) !!} @endif  Retour @if(($mode=="show") && $role->IsSupprimable) {{ html()->form('DELETE', url('/roles/'. $role->id))->open() }}
{{ html()->form()->close() }} @endif