Statistics
| Branch: | Tag: | Revision:

root / snf-astakos-app / astakos / im / templates / im / auth / local_login_prompt.html @ 222305b7

History | View | Annotate | Download (1.1 kB)

1
<form action="{% url astakos.im.target.local.login %}" method="post" 
2
  class="login-form login innerlabels">{% csrf_token %}
3
  <p>
4
    {{ provider.get_login_prompt_msg }}
5
  </p>
6
  <Br />
7
  <div class="login-form" style="display:block">
8
    {% with login_form as form %}
9
        {% include "im/form_render.html" %}
10
    {% endwith %}
11
    <input type="hidden" name="next" value="{{ next }}">
12
    
13
    {% if key %}
14
        <input type="hidden" name="key" value="{{key}}">
15
    {% else %}
16
        {% if request.GET.key %}
17
            <input type="hidden" name="key" value="{{request.GET.key}}">
18
        {% endif %}
19
    {% endif %}
20
    
21
    <div class="form-row submit clearfix">
22
        <input type="submit" class="submit altcol" value="SUBMIT" />
23
        <a class="extra-link" href="{% url astakos.im.target.local.password_reset %}">Forgot your password?</a>
24
      </div>
25
    </div>
26
  </form>
27
  <br> 
28
  {% if not forloop.last and not is_master %}
29
  LOGIN using &nbsp;&nbsp;
30
  {% endif %}
31
  {% if is_master %}
32
  {% with auth_providers|length as l %}
33
  {% if l > 1 %}
34
  LOGIN using &nbsp;&nbsp;
35
  {% endif %}
36
  {% endwith %}
37
  {% endif %}