}
}
- input[type="text"], input[type="email"], textarea {
+ input[type="text"], input[type="email"], input[type="password"], textarea {
@include font-size(m);
@include line-height(1);
-{% extends "base.html" %}
{% load i18n mezzanine_tags %}
-
-{% block meta_title %}{{ title }}{% endblock %}
-{% block title %}{{ title }}{% endblock %}
-{% block body_id %}account{% endblock %}
-
-{% block breadcrumb_menu %}
-{{ block.super }}
-<li>{{ title }}</li>
-{% endblock %}
-
-{% block main %}
-
{% errors_for form %}
-<form method="post"{% if form.is_multipart %} enctype="multipart/form-data"{% endif %}>
+<form class="form" method="post"{% if form.is_multipart %} enctype="multipart/form-data"{% endif %}>
<fieldset>
<legend>{{ title }}</legend>
{% fields_for form %}
</div>
</fieldset>
</form>
-{% endblock %}
-{% extends "accounts/account_form.html" %}
+{% extends "pages/page.html" %}
+
{% load i18n %}
-{% block main %}
+{% block meta_title %}
+ {% trans "Page not found" %}
+{% endblock %}
+
+{% block page_class %}
+ custompage
+{% endblock %}
+{% block page_title %}
+ <h1 class="dotted">{% trans "Login" %}</h1>
+{% endblock %}
+
+{% block page_content %}
{% 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 %}
- {{ block.super }}
+ {% include 'accounts/account_form.html'%}
{% url "signup" as signup_url %}
<p>{% blocktrans with request.GET.next as next %}If you don't have an account you can <a href="{{ signup_url }}?next={{ next }}">sign up</a> for one now.{% endblocktrans %}</p>
{% url "mezzanine_password_reset" as password_reset_url %}
{% url "profile_update" as profile_update_url %}
{% 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>
{% endif %}
-
{% endblock %}
{% else %}
<div class="form-group input_{{ field.id_for_label }} {{ field.field.type }}
{% if field.errors %} has-error{% endif %}">
+ <p>
{% if field.label %}<label class="control-label" for="{{ field.auto_id }}">{{ field.label }}</label>{% endif %}
{{ field }}
+ </p>
{% if field.errors %}
<p class="help-block">
{% for e in field.errors %}