Compare commits
17 Commits
07f3881dde
...
306eb20257
| Author | SHA1 | Date | |
|---|---|---|---|
| 306eb20257 | |||
| 5ae85083a5 | |||
| 1ac83f1066 | |||
| 7e0e6e9652 | |||
| ab1b152a46 | |||
| 8821cd86c6 | |||
| 4ea93c9eff | |||
| 40ca2064d9 | |||
| e840fbabac | |||
| ff2a8ff6d4 | |||
| d33256edb8 | |||
| 10b9e9280f | |||
| ee7f301f44 | |||
| 64984d69d5 | |||
| 4f856c0705 | |||
| 8b4da52760 | |||
| aa171375e5 |
@ -74,8 +74,9 @@ Usefull context:
|
||||
<a class="nav-item" href="{% url "profile" %}" target="new">
|
||||
{% translate "Profile" %}
|
||||
</a>
|
||||
<a class="nav-item" href="{% url 'logout' %}">
|
||||
<i title="{% translate 'disconnect' %}" class="fa fa-power-off"></i>
|
||||
<a class="nav-item" href="{% url "logout" %}" title="{% translate "Disconnect" %}"
|
||||
aria-label="{% translate "Disconnect" %}">
|
||||
<i class="fa fa-power-off"></i>
|
||||
</a>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
@ -23,7 +23,6 @@
|
||||
<table>
|
||||
{{ form.as_table }}
|
||||
{% render_honeypot_field "website" %}
|
||||
|
||||
</table>
|
||||
<br/>
|
||||
<input type="submit" value="Update" class="button is-success">
|
||||
|
||||
@ -16,12 +16,23 @@
|
||||
<section class="container">
|
||||
<div>
|
||||
<form method="post" enctype="multipart/form-data">{% csrf_token %}
|
||||
<table>
|
||||
{{ form.as_table }}
|
||||
{% render_honeypot_field "website" %}
|
||||
</table>
|
||||
<br/>
|
||||
<input type="submit" value="Update" class="button is-success">
|
||||
{% csrf_token %}
|
||||
{% for field in form %}
|
||||
<div class="field is-horizontal">
|
||||
<label class="label">{{ field.label }}</label>
|
||||
<div class="control">{{ field }}</div>
|
||||
</div>
|
||||
{% 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>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
Reference in New Issue
Block a user