Fakultas Ilmu Komputer UI

registrasi_admin.html 3 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{% extends 'administration/base_administrasi2.html' %}

{% block title %}
<title>Dasbor - Kelola Admin</title>
{% endblock %}

{% block content %}
  <h1 class="h3 mb-2 text-gray-800">Registrasi Admin</h1>
  <div class="form-margin"></div>
  <div class="container admin-page">
    <div class="col-20">
      <form id="add_form" method="POST" novalidate enctype="multipart/form-data">
        {% csrf_token %}
        <div class="col-md-6 admin-page">
          <div class="fieldWrapper">
            {{ form.name.errors }}
            <label for="{{ form.subject.id_for_label }}">Nama:</label>
            {{ form.name }}
          </div>
Samuel Dimas Partogi's avatar
Samuel Dimas Partogi committed
20
        </div>
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
        <div class="col-md-6 admin-page">
          <div class="fieldWrapper">
            {{ form.instansi.errors }}
            <label for="{{ form.subject.id_for_label }}">Instansi:</label>
            {{ form.instansi }}
          </div>
        </div>
        <div class="col-md-6 admin-page">
          <div class="fieldWrapper">
            {{ form.nik.errors }}
            <label for="{{ form.subject.id_for_label }}">NIK:</label>
            {{ form.nik }}
          </div>
        </div>
        <div class="col-md-6 admin-page">
          <div class="fieldWrapper">
            {{ form.alamat.errors }}
            <label for="{{ form.subject.id_for_label }}">Alamat:</label>
            {{ form.alamat }}
          </div>
        </div>
        <div class="col-md-6 admin-page">
          <div class="fieldWrapper">
            {{ form.email.errors }}
            <label for="{{ form.subject.id_for_label }}">Email:</label>
            {{ form.email }}
          </div>
        </div>
        <div class="col-md-6 admin-page">
          <div class="fieldWrapper">
            {{ form.nomor_telpon.errors }}
            <label for="{{ form.subject.id_for_label }}">Nomor Telepon:</label>
            {{ form.nomor_telpon }}
          </div>
        </div>
        <div class="col-md-6 admin-page">
          <div class="fieldWrapper">
            {{ form.password.errors }}
            <label for="{{ form.subject.id_for_label }}">Kata Sandi:</label>
            {{ form.password }}
          </div>
        </div>
        <div class="col-md-6 admin-page">
          <div class="fieldWrapper">
            {{ form.password2.errors }}
            <label for="{{ form.subject.id_for_label }}">Ulang Kata Sandi:</label>
            {{ form.password2 }}
          </div>
Samuel Dimas Partogi's avatar
Samuel Dimas Partogi committed
69
70
        </div>

71
72
73
74
75
76
77
78
79
80
81
82
        <div class="form-margin"></div>
        <div class="col-md-6 admin-page">
          <div class="d-flex flex-row">
            <div class="p-2">
              <button type="submit" class="btn btn-success btn-edit"
                style="background-color: #615CFD; border-color: #615CFD;">Simpan</button>
            </div>
            <div class="p-2">
              <a href="/administration/kelola-admin" class="btn btn-secondary">Kembali Ke Kelola Admin</a>
            </div>
          </div>
          <div class="fieldWrapper">
Samuel Dimas Partogi's avatar
Samuel Dimas Partogi committed
83
84
85

          </div>
        </div>
86
      </form>
Samuel Dimas Partogi's avatar
Samuel Dimas Partogi committed
87
88
    </div>
  </div>
89
{% endblock %}