summaryrefslogtreecommitdiff
path: root/gstudio/templates/gstudio/password.html
blob: a5d0d820dac3e284acd534b22a6409587bdebf33 (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
{% extends "gstudio/base.html" %}
{% load i18n %}

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

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

<div class="nodetype_password">
  {% if error %}
  <p class="error">
    {% trans "The password provided is not valid. Please try again." %}
  </p>
  {% endif %}
  <p>
    {% trans "You need to provide a password to view this nodetype." %}
  </p>

  <form method="post" action=".">
    {% csrf_token %}
    <table>
      <tr>
        <td><label for="id_password">{% trans "Password" %}</label></td>
        <td><input name="password" id="id_password" type="password" /></td>
      </tr>
      <tr>
        <td colspan="2">
          <input type="submit" value="{% trans "Valid" %}" />
        </td>
      </tr>
    </table>
  </form>
</div>
{% endblock %}