@extends('layouts.admin') @section('content')

{{__('Edit Role')}}

@csrf
@if ($errors->has('name')) {{ $errors->first('name') }} @endif
@foreach($permissions as $permission)
id, $selected_permissions)) checked @endif >
@endforeach
@if ($errors->has('permissions')) {{ $errors->first('permissions') }} @endif
@updateButton
@endsection