26 lines
1.2 KiB
PHP
26 lines
1.2 KiB
PHP
|
@extends('backend.template')
|
||
|
@section('content')
|
||
|
<div class='card'>
|
||
|
<div class='card-header d-flex justify-content-between align-items-center'>
|
||
|
<h2 class="">{{ label('Edit Permissions') }}</h2>
|
||
|
<?php createButton('btn-primary btn-cancel', '', 'Cancel', route('permissions.index')); ?>
|
||
|
|
||
|
</div>
|
||
|
<div class='card-body'>
|
||
|
<form action="{{ route('permissions.update', [$data->id]) }}" id="updateCustomForm" method="POST">
|
||
|
@csrf
|
||
|
@method('PUT')
|
||
|
<input type=hidden name='id' value='{{ $data->id }}' />
|
||
|
<div class="row">
|
||
|
<div class="col-lg-6">{{ createText('name', 'name', 'Name', '', $data->name) }}
|
||
|
</div>
|
||
|
<div class="col-lg-6">{{ createText('guard_name', 'guard_name', 'Guard Name', '', $data->guard_name) }}
|
||
|
</div>
|
||
|
<div class="col-md-12"><?php createButton('btn-primary btn-update', '', 'Submit'); ?>
|
||
|
<?php createButton('btn-primary btn-cancel', '', 'Cancel', route('permissions.index')); ?>
|
||
|
</div>
|
||
|
</form>
|
||
|
</div>
|
||
|
</div>
|
||
|
@endsection
|