@extends('layouts.app') @section('page-title', __('Permissions')) @section('page-heading', $edit ? $permission->name : __('Create New Permission')) @section('breadcrumbs') @stop @section('content') @include('partials.messages') @if ($edit) {!! Form::open(['route' => ['permissions.update', $permission], 'method' => 'PUT', 'id' => 'permission-form']) !!} @else {!! Form::open(['route' => 'permissions.store', 'id' => 'permission-form']) !!} @endif
@lang('Permission Details')

@lang('A general permission information.')

@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