@extends('layouts.app')
@section('page-title', __('Permissions'))
@section('page-heading', $edit ? $permission->name : __('Create New Permission'))
@section('breadcrumbs')
@lang('Permissions')
{{ __($edit ? 'Edit' : 'Create') }}
@stop
@section('content')
@include('partials.messages')
@if ($edit)
@stop
@section('scripts')
@if ($edit)
{!! JsValidator::formRequest('Vanguard\Http\Requests\Permission\UpdatePermissionRequest', '#permission-form') !!}
@else
{!! JsValidator::formRequest('Vanguard\Http\Requests\Permission\CreatePermissionRequest', '#permission-form') !!}
@endif
@stop