summaryrefslogtreecommitdiff
path: root/gstudio/templates
diff options
context:
space:
mode:
authorcsitifr <csitifr@gmail.com>2012-05-11 17:31:37 +0530
committercsitifr <csitifr@gmail.com>2012-05-11 17:31:37 +0530
commit15c2f2561c23a656d792003b089e28ecc500b720 (patch)
tree555420bf03ae3a39f0dd600b81a7a40b400e672e /gstudio/templates
parentf8bc3f5d714cfe2b1d1d1fdf0bba47e35cb4240a (diff)
downloadgnowsys-15c2f2561c23a656d792003b089e28ecc500b720.tar.gz
small error in reftype and nodetype_detail.html corrected
Diffstat (limited to 'gstudio/templates')
-rw-r--r--gstudio/templates/gstudio/nodetype_detail.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/gstudio/templates/gstudio/nodetype_detail.html b/gstudio/templates/gstudio/nodetype_detail.html
index d4e786b..7947e58 100644
--- a/gstudio/templates/gstudio/nodetype_detail.html
+++ b/gstudio/templates/gstudio/nodetype_detail.html
@@ -248,10 +248,10 @@
{% endwith %}
{% endblock %}
+
<!-- Dynamic form begins -->
<p>
-
-
+{% if object.reftype == 'Objecttype' %}
<b>Add Attributes:</b>
{% for i in object.getat %}
<a href="{{ get_absolute_url }}/objects/dynamicAttribute/save/{{ i }}/{{ object.title }}">{{ i }}</a><nbsp>;
@@ -263,7 +263,7 @@
{% for i in object.getrt %}
<a href="{{ get_absolute_url }}/objects/dynamicRelation/displaymem/{{ i }}/{{ object.title }}">{{ i }}</a><nbsp>;
{% endfor %}
-
+{% endif %}
</p>
<!-- Dyanic form ends -->