From ffa1efc1acfc176c1dbf659210b41a51eb4d4cad Mon Sep 17 00:00:00 2001 From: csitifr Date: Fri, 11 May 2012 16:31:53 +0530 Subject: Dynamic mapping for attribute types done.Dynamic form for relation types added for both types and tokens.Properties for getting ATs and RTs added into models --- gstudio/templates/gstudio/nodetype_detail.html | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) (limited to 'gstudio/templates/gstudio/nodetype_detail.html') diff --git a/gstudio/templates/gstudio/nodetype_detail.html b/gstudio/templates/gstudio/nodetype_detail.html index 404adb9..53fdbbe 100644 --- a/gstudio/templates/gstudio/nodetype_detail.html +++ b/gstudio/templates/gstudio/nodetype_detail.html @@ -243,18 +243,28 @@ s = parseInt(s) //alert(s) } - - + {% endwith %} {% endblock %} -{% if object.reftype == 'Objecttype'%} -Add Attribute -
-Add Relation +{% if object.reftype == 'Objecttype' %} +

+Add Attributes: +{% for i in object.getat %} +{{ i }}; +{% endfor %} +

+ +

+Add Relations: +{% for i in object.getrt %} +{{ i }}; +{% endfor %} {% endif %} +

+
-- cgit v1.1