diff --git a/snikket_web/templates/login.html b/snikket_web/templates/login.html index 93a135f..5f6b431 100644 --- a/snikket_web/templates/login.html +++ b/snikket_web/templates/login.html @@ -12,13 +12,17 @@

{{ config["SITE_NAME"] }}

{{ _("Enter your Snikket address and password to manage your account.") }}

-
+ {{ form.csrf_token }} {% if form.errors %} {% call box("alert", _("Login failed")) %}

{{ form.errors.values() | flatten | join(", ")}}

{% endcall %} {% endif %} +
{{ form.address.label(class="a11y-only") }} {{ form.address(placeholder=form.address.label.text) }} @@ -31,6 +35,22 @@ {%- call form_button("login", form.action_signin, class="primary") -%}{% endcall -%}
+
{%- include "_footer.html" -%} {% endblock %}