source: asadb/template/registration/login.html @ 9879d18

space-accessstablestagetest-hooks
Last change on this file since 9879d18 was 9879d18, checked in by Alex Dehnert <adehnert@…>, 14 years ago

Allow logging in with a password to the DB

  • Property mode set to 100644
File size: 1.1 KB
Line 
1{% extends "base.html" %}
2
3{% block title %}Log in to ASA website{% endblock %}
4
5{% block content %}
6
7<h2>Log in to ASA website</h2>
8
9{% if form.errors %}
10<p>Your username and password didn't match. Please try again.</p>
11{% endif %}
12
13<p>You should be able to log-in using MIT certificates. If you have trouble, please verify that you have unexpired certificates by visiting <a href='https://web.mit.edu/consult/www/certificate/test.html'>the IS&amp;T certificate test page</a>. If you don't have certificates, you should <a href='https://ca.mit.edu/ca/'>get them</a>. If you have certificates but still have trouble, please email <kbd>asa-db</kbd> and tell us what browser and OS you are using.</p>
14
15<p>In the unlikely event that you have a username and password, you can log in below.</p>
16
17<form method="post" action="{% url login-password %}">
18{% csrf_token %}
19<table>
20<tr>
21    <td>{{ form.username.label_tag }}</td>
22    <td>{{ form.username }}</td>
23</tr>
24<tr>
25    <td>{{ form.password.label_tag }}</td>
26    <td>{{ form.password }}</td>
27</tr>
28</table>
29
30<input type="submit" value="login" />
31<input type="hidden" name="next" value="{{ next }}" />
32</form>
33
34{% endblock %}
Note: See TracBrowser for help on using the repository browser.