+{% extends "pages/page.html" %}
{% load i18n mezzanine_tags %}
-{% errors_for form %}
+{% block meta_title %}
+ {% trans "Login" %}
+{% endblock %}
+
+{% block page_title %}
+ <h1 class="dotted">{% trans "Login" %}</h1>
+{% endblock %}
+
+{% block page_content %}
+{% errors_for form %}
<form class="form" method="post"{% if form.is_multipart %} enctype="multipart/form-data"{% endif %}>
<fieldset>
<legend>{{ title }}</legend>
</div>
</fieldset>
</form>
+{% endblock %}
-{% extends "pages/page.html" %}
-
-{% load i18n %}
+{% extends "accounts/account_form.html" %}
+{% load i18n mezzanine_tags %}
{% block meta_title %}
{% trans "Page not found" %}
{% if request.user.is_authenticated %}
<p>{% trans "You're already logged in. If you'd like to log in as a different user, you'll need to log out first." %}</p>
{% else %}
- {% include 'accounts/account_form.html'%}
+ {{ block.super }}
{% url "signup" as signup_url %}
{% url "mezzanine_password_reset" as password_reset_url %}
{% url "profile_update" as profile_update_url %}
+ {% block message %}
{% blocktrans %}<p>You can also <a href="{{ password_reset_url }}?next={{ profile_update_url }}">reset your password</a> if you've forgotten it.</p>{% endblocktrans %}</p>
+ {% endblock %}
{% endif %}
{% endblock %}
-{% extends "accounts/account_form.html" %}
+{% extends "accounts/account_login.html" %}
{% load i18n %}
-{% block main %}
+{% block page_content %}
{{ block.super }}
+{% endblock %}
+
+{% block message %}
<p>{% trans "Enter your username or email address and you'll receive an email with a link you need to click, in order to log in and change your password." %}</p>
{% endblock %}
-{% extends "base.html" %}
+{% extends "pages/page.html" %}
{% load i18n mezzanine_tags accounts_tags %}
{% block meta_title %}{{ profile_user|username_or:"get_full_name" }}{% endblock %}