bornhack-website/bornhack/templates/account/login.html

27 lines
852 B
HTML

{% extends "base.html" %}
{% load i18n %}
{% load account %}
{% load bootstrap3 %}
{% block body_class %}{{ block.super }} narrow{% endblock %}
{% block content %}
<h1>{% trans "Login" %}</h1>
<p>{% blocktrans %}If you have not created an account yet, then please
<a href="{{ signup_url }}">sign up</a> first.{% endblocktrans %}</p>
<form class="login" method="POST" action="{% url 'account_login' %}">
{% csrf_token %}
{% bootstrap_form form %}
<button class="form-control btn btn-primary " 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 "Forgot Password?" %}</a>
</form>
{% endblock %}