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

@section('content')
<div class="card">
    @if ($errors)
        @foreach ($errors->all() as $error)
            <div class='bg-danger alert'>{!! $error !!}</div>
        @endforeach
    @endif
    <div class="card-body">
        {{ html()->modelForm($permission, 'PUT', url('/permissions/' . $permission->id))->open() }}
           @include('acces.permissions.content')
        {{ html()->closeModelForm() }}
    </div>
</div>
@endsection
