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.

create.blade.php 2.5KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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 - Khusus untuk Super Admin</h6>
  10. <h2 class="mb-0">Tambah User</h2>
  11. </div>
  12. </div>
  13. </div>
  14. <div class="card-body">
  15. <form action="{{ route($route.'create_action') }}" class="form-global-handle" method="POST" enctype="multipart/form-data">
  16. @csrf
  17. <div class="form-group">
  18. <label for="RoleName">Nama</label>
  19. <input type="text" name="name" class="form-control" id="RoleName" placeholder="Contoh : Admin">
  20. </div>
  21. <div class="form-group">
  22. <label for="RoleName">Email</label>
  23. <input type="email" name="email" class="form-control cek_email" data-route="{{ route('cek_email') }}" id="RoleName" placeholder="Contoh : sidoni@mail.com">
  24. <div class="email-notification"></div>
  25. </div>
  26. <div class="form-group">
  27. <label for="password">Password</label>
  28. <input type="password" name="password" class="form-control" id="password" placeholder="*******">
  29. <div>
  30. <small>Minimal adalah 6 karakter</small>
  31. </div>
  32. </div>
  33. <div class="group">
  34. <button type="submit" class="btn btn-success">Simpan</button>
  35. <a class="btn btn-default bg-back" href="{{ route($route.'index') }}">Kembali</a>
  36. </div>
  37. </form>
  38. </div>
  39. </div>
  40. </div>
  41. </div>
  42. @endsection
  43. {{-- load JS yang lu perluin, selain itu no --}}
  44. @push('js')
  45. <script src="{{ asset('assets') }}/js/blockUI.js"></script>
  46. <script src="{{ asset('assets') }}/js/sweetalert2.js"></script>
  47. <script src="{{ asset('assets') }}/js/custom.js"></script>
  48. @endpush