summaryrefslogtreecommitdiff
path: root/gstudio/templates/gstudio/nodetype_detail.html
diff options
context:
space:
mode:
authorsupriya <supriya@dragbox.(none)>2012-06-11 16:24:50 +0530
committersupriya <supriya@dragbox.(none)>2012-06-11 16:24:50 +0530
commit04f1a3ffa2b83e2849d7e3f7902de0309cf7443c (patch)
tree11e029fa6a875d004a81aa2c5dd93cc75537be9b /gstudio/templates/gstudio/nodetype_detail.html
parent833243ea72813e1e3c4256fc00b9e0576e66cf06 (diff)
downloadgnowsys-04f1a3ffa2b83e2849d7e3f7902de0309cf7443c.tar.gz
Gnowmacs editor added to gnowsys-studio
Diffstat (limited to 'gstudio/templates/gstudio/nodetype_detail.html')
-rw-r--r--gstudio/templates/gstudio/nodetype_detail.html24
1 files changed, 22 insertions, 2 deletions
diff --git a/gstudio/templates/gstudio/nodetype_detail.html b/gstudio/templates/gstudio/nodetype_detail.html
index 0c777b5..e016108 100644
--- a/gstudio/templates/gstudio/nodetype_detail.html
+++ b/gstudio/templates/gstudio/nodetype_detail.html
@@ -186,9 +186,29 @@
{% endfor %} <br/>
{% endif %}
<!-- Content -->
- {% if object.content %}
- <b>Content:<nbsp></b>{{object_content}}
+ {% if object.content %}
+ <b>
+ Content:<nbsp>
+
+ <input type="button" id="editdata" value="Edit Content"/><ndsp><nbsp>
+ <input type="hidden" id="objectid" value="{{object.id}}"/>
+ <input type="hidden" id="title" value="{{object.title}}"/>
+ <input type="hidden" id="orgcontent" value="{{object.content_org}}"/>
+ </b>
+ {{object_content}}<br/>
+
+ {% else %}
+ <b>
+ Content:<nbsp> <input type="button"id="editdata" value="Edit Content"/><ndsp><nbsp>
+ <input type="hidden" id="objectid" value="{{object.id}}"/>
+
+ <input type="hidden" id="title" value="{{object.title}}"/>
+ <input type="hidden" id="orgcontent" value="{{object.content_org}}"/>
+ </b>
+ {{object_content}}<br/>
+
{% endif %}
+
<!-- Neighbourhood Listing ends -->
<script type="text/javascript" >
var s = 0