81 lines
3.7 KiB
PHP
81 lines
3.7 KiB
PHP
@section('page-specific-styles')
|
|
<link href="{{ asset('css/dropify.min.css') }}" rel="stylesheet">
|
|
<link type="text/css" rel="stylesheet"
|
|
href="{{ asset('resources/css/theme-default/libs/bootstrap-tagsinput/bootstrap-tagsinput.css?1424887862')}}"/>
|
|
@endsection
|
|
@csrf
|
|
<div class="row">
|
|
<div class="col-sm-9">
|
|
<div class="card">
|
|
<div class="card-underline">
|
|
<div class="card-head">
|
|
<header class="px-3 mt-2">{!! $header !!}</header>
|
|
</div>
|
|
<div class="card-body">
|
|
<div class="row">
|
|
<div class="col-sm-12">
|
|
{{-- <div class="form-group">
|
|
<input type="text" name="name" class="form-control" required
|
|
value="{{ old('name', isset($permission->name) ? $permission->name : '') }}"/>
|
|
<span id="textarea1-error" class="text-danger">{{ $errors->first('name') }}</span>
|
|
<label for="Name">Name</label>
|
|
</div> --}}
|
|
|
|
<div class="form-group ">
|
|
<label for="name" class="col-form-label pt-0">Permission</label>
|
|
<div class="">
|
|
<input class="form-control" type="text" required name="name" value="{{ old('name', isset($permission->name) ? $permission->name : '') }}" placeholder="Enter Your Name">
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-sm-12">
|
|
<div class="form-group">
|
|
<label for="group" class="col-form-label pt-0">Permission Group</label>
|
|
<div class="">
|
|
<input type="text" class="form-control" name="group_name" value="{{old('group_name', isset($permission->group_name) ? $permission->group_name: '')}}" placeholder="Names: Employee,Staff,Candidate etc">
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="col-md-3">
|
|
<div class="card" >
|
|
<div class="card-body">
|
|
<div class="row mt-2 justify-content-center">
|
|
<div class="form-group">
|
|
<div>
|
|
<a class="btn btn-light waves-effect ml-1" href="{{ route('permission.index') }}">
|
|
<i class="md md-arrow-back"></i>
|
|
Back
|
|
</a>
|
|
<input type="submit" name="pageSubmit" class="btn btn-danger waves-effect waves-light" value="Submit">
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
@section('page-specific-scripts')
|
|
<script src="{{asset('resources/js/ckeditor/ckeditor.js') }}"></script>
|
|
<script src="{{ asset('js/dropify.min.js') }}"></script>
|
|
<script src="{{ asset('resources/js/libs/bootstrap-tagsinput/bootstrap-tagsinput.min.js')}}"></script>
|
|
<script src="{{ asset('resources/js/libs/jquery-validation/dist/jquery.validate.min.js') }}"></script>
|
|
<script src="{{ asset('resources/js/libs/jquery-validation/dist/additional-methods.min.js') }}"></script>
|
|
<script type="text/javascript">
|
|
$(document).ready(function () {
|
|
$('.dropify').dropify();
|
|
});
|
|
</script>
|
|
@endsection
|