No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

update.blade.php 1.9KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. @extends('admin.layouts.app')
  2. @section('content')
  3. <div class="row px-5">
  4. <div class="col-xl-12">
  5. <div class="card shadow">
  6. <div class="card-header bg-transparent">
  7. <div class="row align-items-center">
  8. <div class="col">
  9. <h6 class="text-uppercase text-muted ls-1 mb-1">Add User Management</h6>
  10. <h2 class="mb-0">Add Permission Management</h2>
  11. </div>
  12. </div>
  13. </div>
  14. <div class="card-body">
  15. <form action="{{ route($route.'update_action') }}" class="form-global-handle" method="POST" enctype="multipart/form-data">
  16. @csrf
  17. <input type="hidden" name="id" value="{{ Hashids::encode($data->id) }}">
  18. <div class="form-group">
  19. <label for="PermissionName">Permission Name</label>
  20. <input type="text" name="name" value="{{ $data->name }}" class="form-control" id="PermissionName" placeholder="Example : Admin">
  21. </div>
  22. <div class="group">
  23. <button type="submit" class="btn btn-success">Simpan</button>
  24. <a class="btn btn-default bg-back" href="{{ route($route.'index') }}">Kembali</a>
  25. </div>
  26. </form>
  27. </div>
  28. </div>
  29. </div>
  30. </div>
  31. @endsection
  32. {{-- load JS yang lu perluin, selain itu no --}}
  33. @push('js')
  34. <script src="{{ asset('assets') }}/js/blockUI.js"></script>
  35. <script src="{{ asset('assets') }}/js/sweetalert2.js"></script>
  36. <script src="{{ asset('assets') }}/js/custom.js"></script>
  37. @endpush