forked from Github-Mirrors/canaille
Login page icons
This commit is contained in:
parent
1dfe290f55
commit
ccd7293837
1 changed files with 13 additions and 1 deletions
|
@ -24,6 +24,18 @@
|
|||
{% endfor %}
|
||||
{% endwith %}
|
||||
|
||||
{{ sui.render_form(form, _("Sign in"), action=request.url) }}
|
||||
<form method="POST"
|
||||
id="{{ form.id or form.__class__.__name__|lower }}"
|
||||
action="{{ request.url }}"
|
||||
role="form"
|
||||
class="ui form"
|
||||
>
|
||||
|
||||
{{ form.hidden_tag() if form.hidden_tag }}
|
||||
{{ sui.render_field(form.login, icon="user") }}
|
||||
{{ sui.render_field(form.password, icon="lock") }}
|
||||
|
||||
<button type="submit" class="ui right floated primary button">{{ _("Sign in") }}</button>
|
||||
</form>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
|
Loading…
Reference in a new issue