summaryrefslogtreecommitdiff
path: root/gstudio/templates/gstudio/password.html
diff options
context:
space:
mode:
authorgnowgi <nagarjun@gnowledge.org>2012-03-15 16:19:20 +0530
committergnowgi <nagarjun@gnowledge.org>2012-03-15 16:19:20 +0530
commit7a4f561e851fdc7246d804c3abb6748b8a4199a6 (patch)
treed2afc3463fd49625a9be482012f5c3bfcf7c42b9 /gstudio/templates/gstudio/password.html
downloadgnowsys-7a4f561e851fdc7246d804c3abb6748b8a4199a6.tar.gz
master trunk of gnowsys-studio
Diffstat (limited to 'gstudio/templates/gstudio/password.html')
-rw-r--r--gstudio/templates/gstudio/password.html35
1 files changed, 35 insertions, 0 deletions
diff --git a/gstudio/templates/gstudio/password.html b/gstudio/templates/gstudio/password.html
new file mode 100644
index 0000000..a5d0d82
--- /dev/null
+++ b/gstudio/templates/gstudio/password.html
@@ -0,0 +1,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 %}
+