manage_users.html
1.69 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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
{% extends "base.html" %}
{% block title %}Zarządzanie kontami{% endblock %}
{% block extrahead %}
<script type="text/javascript" src="{{ STATIC_URL }}js/manage_users.js"></script>
{% endblock %}
{% block content %}
<div id='new-user-account'>
<p><strong>Utwórz nowe konto:</strong><p>
<form class="new-account-form" method="post"> {% csrf_token %}
{{ new_account_form.non_field_errors }}
<table>
<tr class="fieldWrapper">
{{ new_account_form.username.errors }}
<td>{{ new_account_form.username.label_tag }}:</td> <td>{{ new_account_form.username }}</td>
</tr>
<tr class="fieldWrapper">
{{ new_account_form.email.errors }}
<td>{{ new_account_form.email.label_tag }}:</td> <td>{{ new_account_form.email }}</td>
</tr>
<tr class="fieldWrapper">
{{ new_account_form.password1.errors }}
<td>{{ new_account_form.password1.label_tag }}:</td> <td>{{ new_account_form.password1 }}</td>
</tr>
<tr class="fieldWrapper">
{{ new_account_form.password2.errors }}
<td>{{ new_account_form.password2.label_tag }}:</td> <td>{{ new_account_form.password2 }}</td>
</tr>
<tr class="fieldWrapper">
{{ new_account_form.group.errors }}
<td>{{ new_account_form.group.label_tag }}:</td> <td>{{ new_account_form.group }}</td>
</tr>
</table>
<p class="lexeme-save">
<button type="submit" id="new-account-form-submit">
Utwórz
</button>
<button type="reset" id="new-account-form-cancel">
Wyczyść
</button>
</p>
</form>
</div>
<div id='change-user-function'>
</div>
{% endblock %}