36 lines
1.2 KiB
PHP
36 lines
1.2 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',$role->name)
|
||
|
|
||
|
@section('content')
|
||
|
<section>
|
||
|
<div class="section-body">
|
||
|
<form class="form form-validate floating-label" action="{{route('role.update',$role->id)}}"
|
||
|
method="POST" enctype="multipart/form-data" novalidate>
|
||
|
@method('PUT')
|
||
|
@include('role.form', ['header' => 'Edit role <span class="text-primary">('.($role->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
|
||
|
|