summaryrefslogtreecommitdiff
path: root/build/lib.linux-i686-2.6/gstudio/templates/gstudio/login.html
blob: 690d0beacb42986b4f2dbb74b316f7c0b33650c9 (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
{% extends "gstudio/base.html" %}
{% load i18n %}

{% block title %}{% trans "Login required" %}{% endblock %}

{% block content %}
<h2>{% trans "Login required" %} </a> </h2>

<div class="nodetype_login">
  {% if form.errors %}
  <p class="error">
    {% trans "Your username and password didn't match. Please try again." %}
  </p>
  {% endif %}
  <p>
    {% trans "You need to be connected to view this nodetype." %}
  </p>

  <form method="post" action=".">
    {% csrf_token %}
    <table>
      <tr>
        <td>{{ form.username.label_tag }}</td>
        <td>{{ form.username }}</td>
      </tr>
      <tr>
        <td>{{ form.password.label_tag }}</td>
        <td>{{ form.password }}</td>
      </tr>
      <tr>
        <td colspan="2">
          <input type="hidden" name="next" value="." />
          <input type="submit" value="{% trans "Login" %}" />
        </td>
      </tr>
    </table>
  </form>
</div>
{% endblock %}