X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=mediagoblin%2Ftemplates%2Fmediagoblin%2Fauth%2Flogin.html;h=93cd82d925ce21f9110f721a6c68ce73318d1ba7;hb=f66e4282d481fbc97e9c38eb805232a0a2d21960;hp=c3807e5f59e6b7046b6e4f8c15ee18270c2ade62;hpb=e51af0e62000b190d6aa828719080a96886210fb;p=mediagoblin.git diff --git a/mediagoblin/templates/mediagoblin/auth/login.html b/mediagoblin/templates/mediagoblin/auth/login.html index c3807e5f..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 MediaGoblin contributors. See AUTHORS. +# 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,28 +19,30 @@ {% import "/mediagoblin/utils/wtforms.html" as wtforms_util %} +{% block mediagoblin_head %} + {{ super() }} + {% template_hook("fp_head") %} +{% endblock %} + +{% block title -%} + {% trans %}Log in{% endtrans %} — {{ super() }} +{%- endblock %} + {% block mediagoblin_content %} -
{{ csrf_token }} -
+

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

{% if login_failed %}
{% trans %}Logging in failed!{% endtrans %}
{% endif %} - {% if allow_registration %} -

- {% trans %}Don't have an account yet?{% endtrans %} - {%- trans %}Create one here!{% endtrans %} -

- {% endif %} - {{ wtforms_util.render_divs(login_form) }} -

- - {% trans %}Forgot your password?{% endtrans %} -

+ {% template_hook("create_account") %} + {% template_hook("login_link") %} + {{ wtforms_util.render_divs(login_form, True) }} + {% template_hook("fp_link") %}