ccdb-api/ccdb/templates/account/login.html
Matthew Dillon 7ba937ef66 INITIAL
2016-01-19 15:10:09 -07:00

25 lines
854 B
HTML

{% extends "account/base.html" %}
{% block navbar_class-account_login %}active{% endblock %}
{% load i18n %}
{% load account %}
{% load crispy_forms_tags %}
{% block head_title %}{% trans "Sign In" %}{% endblock %}
{% block content %}
<div class="row">
<div class="col-md-5">
<h2>{% trans "Sign In" %}</h2>
<form class="login" method="POST" action="{% url 'account_login' %}">
{% csrf_token %}
{{ form|crispy }}
{% if redirect_field_value %}
<input type="hidden" name="{{ redirect_field_name }}" value="{{ redirect_field_value }}" />
{% endif %}
<button id="sign-in-button" class="btn btn-primary" type="submit">{% trans "Sign In" %}</button>
<a class="button secondaryAction" href="{% url 'account_reset_password' %}">{% trans "Forgot Password?" %}</a>
</form>
</div>
</div>
{% endblock %}