@extends('layouts.app') @php $title = isset($permission) ? 'Edit Permission' : 'Create Permission'; @endphp @section('title', $title) @section('content') Permissions Dashboard {{ $title }} {{ $title }} @csrf @if (isset($permission)) @method('PUT') @endif Name @error('name') {{ $message }} @enderror @endsection @section('scripts') @endsection