36 lines
1.3 KiB
PHP
36 lines
1.3 KiB
PHP
@extends('layouts.admin.admin')
|
|
|
|
@section('page-specific-styles')
|
|
<link href="{{ asset('css/dropify.min.css') }}" rel="stylesheet">
|
|
<link href="{{ asset('resources/css/bootstrap-toggle.min.css') }}" rel="stylesheet">
|
|
@endsection
|
|
|
|
@section('title',$permission->name)
|
|
|
|
@section('content')
|
|
<section>
|
|
<div class="section-body">
|
|
<form class="form form-validate floating-label" action="{{route('permission.update',$permission->id)}}"
|
|
method="POST" enctype="multipart/form-data" novalidate>
|
|
@method('PUT')
|
|
@include('permission.form', ['header' => 'Edit permission <span class="text-primary">('.($permission->name).')</span>'])
|
|
</form>
|
|
</div>
|
|
</section>
|
|
|
|
@endsection
|
|
|
|
|
|
@section('page-specific-scripts')
|
|
<script src="{{ asset('js/dropify.min.js') }}"></script>
|
|
<script src="{{ asset('resources/js/bootstrap-toggle.min.js') }}"></script>
|
|
<script src="{{ asset('resources/js/libs/jquery-validation/dist/additional-methods.min.js') }}"></script>
|
|
<script src="{{ asset('resources/js/libs/jquery-validation/dist/jquery.validate.min.js') }}"></script>
|
|
<script type="text/javascript">
|
|
$(document).ready(function () {
|
|
$('.dropify').dropify();
|
|
});
|
|
</script>
|
|
@endsection
|
|
|