blob: ad9392a7fa9ba45f7a28d7df2a25e5be2f748bfb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
{% extends "base.html" %}
{% block title %}Login or Register{% endblock %}
{% block content %}
<h1>Login or Register</h1>
<div class="login">
<h2 class="authenticate">Login</h2>
<div class="description">
Log in for registered users of the site.
</div>
<form class="authenticate"
enctype="multipart/form-data"
action="{% url scipycon_login params.scope %}"
method="post">
<table class="scipycon-default">
{{ login_form }}
<tr>
<td></td>
<td>
<a href="{% url scipycon_password_reset %}">
Forgot password?
</a>
</td>
</tr>
</table>
<input type="hidden" name="action" value="login" />
<input type="hidden" name="next" value="{{ next_url }}" />
<button class="button left" type="submit">Login</button>
</form>
</div>
<div class="register">
<h2 class="authenticate">Register</h2>
<div class="description">
If you are not already a member of the site you can register here.
</div>
<form action="{% url scipycon_login params.scope %}" method="post">
<table class="scipycon-default">
{{ register_form }}
</table>
<input type="hidden" name="action" value="register" />
<input type="hidden" name="next" value="{{ next_url }}" />
<button class="button left" type="submit">Register</button>
</form>
</div>
{% endblock content %}
|