first commit
This commit is contained in:
32
resources/views/auth/permissions/edit.blade.php
Normal file
32
resources/views/auth/permissions/edit.blade.php
Normal file
@ -0,0 +1,32 @@
|
||||
@extends('layouts.admin')
|
||||
|
||||
@section('title', trans('general.title.edit', ['type' => trans_choice('general.permission', 1)]))
|
||||
|
||||
@section('content')
|
||||
<!-- Default box -->
|
||||
<div class="box box-success">
|
||||
{!! Form::model($permission, [
|
||||
'method' => 'PATCH',
|
||||
'url' => ['auth/permissions', $permission->id],
|
||||
'role' => 'form'
|
||||
]) !!}
|
||||
|
||||
<div class="box-body">
|
||||
{{ Form::textGroup('display_name', trans('general.name'), 'id-card-o') }}
|
||||
|
||||
{{ Form::textGroup('name', trans('general.code'), 'code') }}
|
||||
|
||||
{{ Form::textareaGroup('description', trans('general.description')) }}
|
||||
</div>
|
||||
<!-- /.box-body -->
|
||||
|
||||
@permission('update-auth-permissions')
|
||||
<div class="box-footer">
|
||||
{{ Form::saveButtons('auth/permissions') }}
|
||||
</div>
|
||||
<!-- /.box-footer -->
|
||||
@endpermission
|
||||
|
||||
{!! Form::close() !!}
|
||||
</div>
|
||||
@endsection
|
Reference in New Issue
Block a user