1 {% extends 'im/base_two_cols.html'%}
3 {% block extra_messages %}
5 {% for msg_type, msg in LOGIN_MESSAGES.items %}
6 <li class="{{ msg_type }}">{{ msg|safe }}</li>
11 {% block signup_class %}hidden{% endblock %}
12 {% block page.title %}
18 <img class="pic" src="{{ IM_STATIC_URL }}images/pictures/login_pic.png" />
20 {% comment %}{% include "im/services_description.html" %}{% endcomment %}
23 {% block body.right %}
25 {% if "local" in im_modules %}
26 <form action="{% url astakos.im.target.local.login %}" method="post"
27 class="login innerlabels">{% csrf_token %}
28 <h2 class="formheader"><span>LOGIN</span></h2>
29 {% with login_form as form %}
30 {% include "im/form_render.html" %}
32 <input type="hidden" name="next" value="{{ next }}">
33 <div class="form-row submit">
34 <input type="submit" class="submit altcol" value="SUBMIT" />
35 <a class="extra-link" href="{% url django.contrib.auth.views.password_reset %}">Forgot your password?</a>
40 <div class="extralogin">
41 {% for o in im_modules %}
45 <a href="/im/login/{{ o }}{% ifnotequal next "" %}?next={{ next|urlencode }}{% endifnotequal %}"
46 alt="{{ o|title }}">{{ o }}</a>
51 {% block body.signup %}
52 {% for o in im_modules %}
58 {% block body.login.signup %}
59 new to okeanos ? <a href="{% url astakos.im.views.signup %}">CREATE ACCOUNT</a>