b7c7a5f6
Alexey Boroda
first commit
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
@extends('layouts.admin')
@section('title', trans('general.title.edit', ['type' => trans_choice('general.permissions', 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
|