diff options
author | Shweta Chaughule <shwettach@gmail.com> | 2012-04-16 18:04:12 +0530 |
---|---|---|
committer | Shweta Chaughule <shwettach@gmail.com> | 2012-04-16 18:04:12 +0530 |
commit | 39467038c61056769e91e16c80130214c9811ada (patch) | |
tree | 688cd059c80cbc536a43a06506f95cbcfceb05fd /gstudio | |
parent | 0aff6c0944e356efd6989093be174180a1a77e93 (diff) | |
download | gnowsys-39467038c61056769e91e16c80130214c9811ada.tar.gz |
Dynamic fomrs created, also files added for them.Property to get type added by Johnson - Shweta and Neeharika ( Citizen Science Group )
Diffstat (limited to 'gstudio')
-rw-r--r-- | gstudio/templates/gstudio/nodetype_detail.html | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/gstudio/templates/gstudio/nodetype_detail.html b/gstudio/templates/gstudio/nodetype_detail.html index b69c4043..404adb98 100644 --- a/gstudio/templates/gstudio/nodetype_detail.html +++ b/gstudio/templates/gstudio/nodetype_detail.html @@ -250,9 +250,14 @@ {% endwith %} {% endblock %} - <div class="nodetype-content"> +{% if object.reftype == 'Objecttype'%} +<a href="{{ get_absolute_url }}/objects/dynamicAttribute/save/{{ object.title }}">Add Attribute</a> +<br/> +<a href="{{ get_absolute_url }}/objects/dynamicRelation/displayRT/{{ object.title }}">Add Relation</a> +{% endif %} +<div class="nodetype-content"> - </div> +</div> {% block nodetype-widgets %} <div class="nodetype-widgets span-16 last"> {% with object.next_nodetype as next_nodetype %} |