Semantic UI version

This commit is contained in:
2018-07-13 10:19:37 +02:00
parent b82cacc665
commit b54674c703
18 changed files with 594 additions and 143 deletions

View File

@@ -1,16 +1,21 @@
{% extends 'settings-base.html' %}
{% from '_macros.html' import field %}
{% block content %}
{{ super() }}
{% block settings_content %}
<h2>{% trans %}Edit profile{% endtrans %}</h2>
<form method="post">
<form method="post" class="ui form">
{{ form.hidden_tag() }}
{{ form.errors }}
{% if form.errors %}
{% for error in form.errors %}
{{ error }}
{% endfor %}
<br>
{% endif %}
{{ field(form.display_name) }}
{{ field(form.locked) }}
{{ field(form.locked, inline=true) }}
<button type="submit">{% trans %}Save{% endtrans %}</button>
<button type="submit" class="ui primary button">{% trans %}Save{% endtrans %}</button>
</form>
{% endblock content %}
{% endblock settings_content %}