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

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

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

<div class="gbobject_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 gbobject." %}
  </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 %}