diff options
Diffstat (limited to 'build/lib.linux-i686-2.6/gstudio/templates/gstudioforms/gstudiorelationtypeform.html')
-rw-r--r-- | build/lib.linux-i686-2.6/gstudio/templates/gstudioforms/gstudiorelationtypeform.html | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/build/lib.linux-i686-2.6/gstudio/templates/gstudioforms/gstudiorelationtypeform.html b/build/lib.linux-i686-2.6/gstudio/templates/gstudioforms/gstudiorelationtypeform.html new file mode 100644 index 0000000..48531b9 --- /dev/null +++ b/build/lib.linux-i686-2.6/gstudio/templates/gstudioforms/gstudiorelationtypeform.html @@ -0,0 +1,28 @@ +{% extends "gstudio/base.html" %} +{% load i18n %} + +{% block content %} +<form method="post" action="."> +{% if user.is_authenticated %} + +{% csrf_token %} +<h2>Form to add Relationtypes</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 %} + + +{% endblock %} |