X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=mediagoblin%2Ftemplates%2Fmediagoblin%2Fauth%2Flogin.html;h=93cd82d925ce21f9110f721a6c68ce73318d1ba7;hb=f66e4282d481fbc97e9c38eb805232a0a2d21960;hp=c2e27c1593a47dd24812cdcafa8935a49cc416cb;hpb=99619a625b20d4c5825eeb52753657b088db5381;p=mediagoblin.git diff --git a/mediagoblin/templates/mediagoblin/auth/login.html b/mediagoblin/templates/mediagoblin/auth/login.html index c2e27c15..93cd82d9 100644 --- a/mediagoblin/templates/mediagoblin/auth/login.html +++ b/mediagoblin/templates/mediagoblin/auth/login.html @@ -1,6 +1,6 @@ {# # GNU MediaGoblin -- federated, autonomous media hosting -# Copyright (C) 2011 Free Software Foundation, Inc +# Copyright (C) 2011, 2012 MediaGoblin contributors. See AUTHORS. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by @@ -19,24 +19,37 @@ {% import "/mediagoblin/utils/wtforms.html" as wtforms_util %} -{% block mediagoblin_content %} +{% block mediagoblin_head %} + {{ super() }} + {% template_hook("fp_head") %} +{% endblock %} -
-
-

Log in

+ {{ csrf_token }} +
+

{% trans %}Log in{% endtrans %}

{% if login_failed %} -
Login failed!
+
+ {% trans %}Logging in failed!{% endtrans %} +
{% endif %} - {{ wtforms_util.render_divs(login_form) }} + {% template_hook("create_account") %} + {% template_hook("login_link") %} + {{ wtforms_util.render_divs(login_form, True) }} + {% template_hook("fp_link") %}
- +
{% if next %} - {% endif %} -

Don't have an account yet? Create one here!

{% endblock %}