diff options
author | supriya <supriya@dragbox.(none)> | 2012-06-11 16:24:50 +0530 |
---|---|---|
committer | supriya <supriya@dragbox.(none)> | 2012-06-11 16:24:50 +0530 |
commit | 04f1a3ffa2b83e2849d7e3f7902de0309cf7443c (patch) | |
tree | 11e029fa6a875d004a81aa2c5dd93cc75537be9b /gstudio/templates/gstudio/nodetype_detail.html | |
parent | 833243ea72813e1e3c4256fc00b9e0576e66cf06 (diff) | |
download | gnowsys-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.html | 24 |
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 |