summaryrefslogtreecommitdiff
path: root/gstudio/templates/gstudio/nodetype_detail.html
diff options
context:
space:
mode:
Diffstat (limited to 'gstudio/templates/gstudio/nodetype_detail.html')
-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 -->