2015-10-05 16:35:30 +00:00
|
|
|
{% extends "base.html" %}
|
|
|
|
|
|
|
|
{% load i18n %}
|
|
|
|
{% load account %}
|
|
|
|
{% load bootstrap3 %}
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
|
2016-02-20 02:00:08 +00:00
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-6 col-md-offset-3">
|
|
|
|
<h1>{% trans "Login" %}</h1>
|
2015-10-05 16:35:30 +00:00
|
|
|
|
2016-02-20 02:00:08 +00:00
|
|
|
<p>{% blocktrans %}If you have not created an account yet, then please
|
|
|
|
<a href="{{ signup_url }}">sign up</a> first.{% endblocktrans %}</p>
|
2015-10-05 16:35:30 +00:00
|
|
|
|
2016-02-20 02:00:08 +00:00
|
|
|
<form class="login" method="POST">
|
|
|
|
{% csrf_token %}
|
|
|
|
{% bootstrap_form form %}
|
|
|
|
<button class="form-control btn btn-black" type="submit">{% trans "Login" %}</button>
|
|
|
|
{% if redirect_field_value %}
|
|
|
|
<input type="hidden" name="{{ redirect_field_name }}" value="{{ redirect_field_value }}" />
|
|
|
|
{% endif %}
|
|
|
|
<a class="button secondaryAction" href="{% url 'account_reset_password' %}">{% trans "Lost Password?" %}</a>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
2015-10-05 16:35:30 +00:00
|
|
|
|
|
|
|
{% endblock %}
|