summaryrefslogtreecommitdiff
path: root/build/lib.linux-i686-2.6/gstudio/templates/gstudioforms/gstudiometatypeform.html
blob: bdb911652bf41c98d74d894e85125457aee19f60 (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
{% extends "gstudio/base.html" %}
{% load i18n %}

{% block content %}
<form method="post" action=".">
{% csrf_token %}  
{% if user.is_authenticated %}
<h2>Form to add Metatypes</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 %}