summaryrefslogtreecommitdiff
path: root/build/lib.linux-i686-2.6/gstudio/templates/gstudioforms/gstudiounionform.html
diff options
context:
space:
mode:
authorAnuja <anujag@anujag-Latitude-D630.(none)>2012-03-21 17:34:34 +0530
committerAnuja <anujag@anujag-Latitude-D630.(none)>2012-03-21 17:34:34 +0530
commit874fceac6498f2ba733c433b964f9ce5975d6a69 (patch)
treeaee7c168a44287d5b8ec22582d654b970eb6108e /build/lib.linux-i686-2.6/gstudio/templates/gstudioforms/gstudiounionform.html
parent9d76c138b63828b549b33fe1b9a8ad4ab3dd8d86 (diff)
downloadgnowsys-874fceac6498f2ba733c433b964f9ce5975d6a69.tar.gz
Changes made on model files and search files
Diffstat (limited to 'build/lib.linux-i686-2.6/gstudio/templates/gstudioforms/gstudiounionform.html')
-rw-r--r--build/lib.linux-i686-2.6/gstudio/templates/gstudioforms/gstudiounionform.html27
1 files changed, 27 insertions, 0 deletions
diff --git a/build/lib.linux-i686-2.6/gstudio/templates/gstudioforms/gstudiounionform.html b/build/lib.linux-i686-2.6/gstudio/templates/gstudioforms/gstudiounionform.html
new file mode 100644
index 00000000..e9310132
--- /dev/null
+++ b/build/lib.linux-i686-2.6/gstudio/templates/gstudioforms/gstudiounionform.html
@@ -0,0 +1,27 @@
+{% extends "gstudio/base.html" %}
+{% load i18n %}
+
+{% block content %}
+<form method="post" action=".">
+{% if user.is_authenticated %}
+{% csrf_token %}
+<h2>Form to add unions</h2>
+{% for field in formset %}
+
+ {{ field.label_tag }}:{{ field }}<br>
+ {{field.help_text}}<br>
+ {{ field.errors }}<br>
+
+
+{% endfor %}
+
+ <input type="Submit" value="{% trans 'ADD' %}" />
+ <input type="hidden" name="next" value="{{ next }}" />
+</form>
+ {% else %}
+ <h2>Sorry either you are not logged in or dont have permission to view this content</h2>
+ <a href="{{get_absoulute_url}}/accounts/login">{% trans 'Login' %}</a><br>
+ <a href="{{get_absoulute_url}}/accounts/register">{% trans 'Register' %}</a><br>
+ {% endif %}
+x
+{% endblock %}