forked from Github-Mirrors/canaille
Minor fix. #43
This commit is contained in:
parent
8d9a11a2e4
commit
801031f3b1
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@
|
|||
{{ form.hidden_tag() if form.hidden_tag }}
|
||||
{{ sui.render_field(form.login, icon="user") }}
|
||||
|
||||
<button type="submit" class="ui right floated {% if request.method == "POST" and not form.errors %}primary {% endif %}button">
|
||||
<button type="submit" class="ui right floated {% if request.method != "POST" or form.errors %}primary {% endif %}button">
|
||||
{% if request.method == "POST" %}
|
||||
{{ _("Send again") }}
|
||||
{% else %}
|
||||
|
|
Loading…
Reference in a new issue