1 {% extends 'base.html'%}
5 <p>Choose how to login. Or move on to <a href="admin">admin</a>.</p>
10 {% if "local" in im_modules %}
12 <h4>Local account</h4>
13 <form action="{% url pithos.im.target.local.login %}" method="post" class="form-stacked">
15 <div class="clearfix">
16 <label for="username">Username:</label>
18 <input class="span3" id="user-username" name="username" type="text" />
21 <div class="clearfix">
22 <label for="password">Password:</label>
24 <input class="span3" id="user-password" name="password" type="password" />
29 <a href="{% url pithos.im.views.register 'local' %}">Sign up</a>
32 <a href="{% url pithos.im.views.reclaim_password %}">Forgot your password?</a>
36 <input type="hidden" name="next" value="{{ next }}">
37 <button type="submit" class="btn primary">Go</button>
42 {% if other_modules %}
44 <h4>Other provider</h4>
45 {% for o in other_modules %}
46 <a href="/im/login/{{ o }}{% ifnotequal next "" %}?next={{ next|urlencode }}{% endifnotequal %}" alt="{{ o|title }}"><img src="/im/static/{{ o }}.png" width="120" height="120"></a>