ecabf31e54
* Invokes the site tree fix from previous fixes. * Adds a disclaimer noting that previous years’ accounts have not been carried over. Fixes #43 * Adds proposal type to the proposal summary page. Fixes #40 * Adds travel/accommodation assistance to the proposals page, but makes it only visible to speakers in the proposal, or review managers. Fixes #41. Fixes #42. * Reduces a lot of the whitespace in the header and footer. Fixes #44 * Proposals review page now shows information for every speaker on a proposal. Fixes #45 * Makes sure that non_field_errors are displayed by forms. Fixes #37
43 lines
1.6 KiB
HTML
43 lines
1.6 KiB
HTML
{% extends "utility_page.html" %}
|
|
|
|
{% load account_tags %}
|
|
{% load i18n %}
|
|
{% load bootstrap %}
|
|
|
|
{% block head_title %}{% trans "Log in" %}{% endblock %}
|
|
{% block page_title %}{% trans "Log in to an existing account" %}{% endblock %}
|
|
|
|
{% block utility_body %}
|
|
|
|
{% if ACCOUNT_OPEN_SIGNUP %}
|
|
<p class="login-signup">
|
|
{% trans "Don't have an account?" %} <strong><a href="{% urlnext 'account_signup' %}">{% trans "Sign up" %}</a></strong>
|
|
</p>
|
|
{% endif %}
|
|
<p>
|
|
{% trans "Accounts from previous years have not been carried over to this site." %}
|
|
{% trans "You will need to create a new account for this year's site." %}
|
|
</p>
|
|
|
|
<form method="POST" action="{% url "account_login" %}" autocapitalize="off" {% if form.is_multipart %} enctype="multipart/form-data"{% endif %}>
|
|
{% csrf_token %}
|
|
<fieldset>
|
|
{% include "_form_snippet.html" with form=form %}
|
|
|
|
{% if redirect_field_value %}
|
|
<input type="hidden" name="{{ redirect_field_name }}" value="{{ redirect_field_value }}" />
|
|
{% endif %}
|
|
<button type="submit" class="btn btn-primary">{% trans "Log in" %}</button>
|
|
<a href="{% url "account_password_reset" %}" class="btn btn-link">{% trans "Forgot your password?" %}</a>
|
|
</fieldset>
|
|
</form>
|
|
{% endblock %}
|
|
|
|
{% block scripts %}
|
|
{{ block.super }}
|
|
<script type="text/javascript">
|
|
$(document).ready(function() {
|
|
$('#id_username').focus();
|
|
});
|
|
</script>
|
|
{% endblock %}
|