Compare commits
17 Commits
306eb20257
...
07f3881dde
Author | SHA1 | Date | |
---|---|---|---|
07f3881dde | |||
6469913f8a | |||
75f1973d41 | |||
b96cf59780 | |||
63c7fadd3f | |||
c9ddd38b9b | |||
72cd24083a | |||
fd3411ed38 | |||
fddaaee169 | |||
42ae35a6ae | |||
1bfbdb304f | |||
27b0bec870 | |||
5986d86da3 | |||
b4539481e6 | |||
25f6d91903 | |||
8b3d3a2483 | |||
c8b0d1c5fb |
|
@ -74,9 +74,8 @@ Usefull context:
|
||||||
<a class="nav-item" href="{% url "profile" %}" target="new">
|
<a class="nav-item" href="{% url "profile" %}" target="new">
|
||||||
{% translate "Profile" %}
|
{% translate "Profile" %}
|
||||||
</a>
|
</a>
|
||||||
<a class="nav-item" href="{% url "logout" %}" title="{% translate "Disconnect" %}"
|
<a class="nav-item" href="{% url 'logout' %}">
|
||||||
aria-label="{% translate "Disconnect" %}">
|
<i title="{% translate 'disconnect' %}" class="fa fa-power-off"></i>
|
||||||
<i class="fa fa-power-off"></i>
|
|
||||||
</a>
|
</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
|
@ -23,6 +23,7 @@
|
||||||
<table>
|
<table>
|
||||||
{{ form.as_table }}
|
{{ form.as_table }}
|
||||||
{% render_honeypot_field "website" %}
|
{% render_honeypot_field "website" %}
|
||||||
|
|
||||||
</table>
|
</table>
|
||||||
<br/>
|
<br/>
|
||||||
<input type="submit" value="Update" class="button is-success">
|
<input type="submit" value="Update" class="button is-success">
|
||||||
|
|
|
@ -16,23 +16,12 @@
|
||||||
<section class="container">
|
<section class="container">
|
||||||
<div>
|
<div>
|
||||||
<form method="post" enctype="multipart/form-data">{% csrf_token %}
|
<form method="post" enctype="multipart/form-data">{% csrf_token %}
|
||||||
{% csrf_token %}
|
<table>
|
||||||
{% for field in form %}
|
{{ form.as_table }}
|
||||||
<div class="field is-horizontal">
|
{% render_honeypot_field "website" %}
|
||||||
<label class="label">{{ field.label }}</label>
|
</table>
|
||||||
<div class="control">{{ field }}</div>
|
<br/>
|
||||||
</div>
|
<input type="submit" value="Update" class="button is-success">
|
||||||
{% if field.errors %}
|
|
||||||
<p class="help is-danger">{{ field.errors }}</p>
|
|
||||||
{% endif %}
|
|
||||||
{% if field.help_text %}
|
|
||||||
<p class="help">{{ field.help_text|safe }}</p>
|
|
||||||
{% endif %}
|
|
||||||
{% endfor %}
|
|
||||||
|
|
||||||
<div class="has-text-right">
|
|
||||||
<button type="submit" class="button">{% translate "Update" %}</button>
|
|
||||||
</div>
|
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user