@extends('layouts.dash')
{!! $with_navbar=false !!}
@section('title') Permissions @stop
@section('title_card',"Mise à jour d'une Permission")

@section('content')
    @if ($errors)
        @foreach ($errors->all() as $error)
            <div class='bg-danger alert'>{!! $error !!}</div>
        @endforeach
    @endif

    <div class="card">
        <div class="card-header">
            <h2>Permission <span style='color:darkblue'>{!! $permission->name !!}</span></h2>
        </div>
        <div class='card-body'>
            {{ html()->modelForm($permission)->open() }}
                @include("acces.permissions.content")
            {{ html()->closeModelForm() }}
        </div>
    </div>


@endsection
