diff options
author | supriya <supriya@dragbox.(none)> | 2012-08-13 17:21:33 +0530 |
---|---|---|
committer | supriya <supriya@dragbox.(none)> | 2012-08-13 17:21:33 +0530 |
commit | c46d21012bdb0cad3c4e2313586b0a5ea740bcbe (patch) | |
tree | c65c22c4cd91649b08eca53ce6795c596fc492c8 /gstudio/templates/gstudio/tags | |
parent | effc9ec794486e4551890f62e710b88843abfc00 (diff) | |
download | gnowsys-c46d21012bdb0cad3c4e2313586b0a5ea740bcbe.tar.gz |
tags added to wikipage
Diffstat (limited to 'gstudio/templates/gstudio/tags')
-rw-r--r-- | gstudio/templates/gstudio/tags/commentpage.html | 23 |
1 files changed, 22 insertions, 1 deletions
diff --git a/gstudio/templates/gstudio/tags/commentpage.html b/gstudio/templates/gstudio/tags/commentpage.html index 1b5a0ca..a55f4ed 100644 --- a/gstudio/templates/gstudio/tags/commentpage.html +++ b/gstudio/templates/gstudio/tags/commentpage.html @@ -4,6 +4,8 @@ {% load gstudio_tags %} {% load i18n %} +{% load tagging_tags comments i18n %} + @@ -32,7 +34,26 @@ <input type="button" id="subsecorg" value="{{child.content_org}}" style="visibility:hidden;"/> <input type="button" id="subsecid" value="{{child.id}}" style="visibility:hidden;"/> <input type="checkbox" name="del_comment" value="delete_comment"> - <input type="submit" value="Delete this Subsection"> + <input type="submit" value="Delete this Subsection"></br> + <form method="post" action="">{% csrf_token %} + <input type="hidden" name="docid" value={{child.id}}> + <input type="text" value="" name="texttags" /> + <input type="submit" value="Add Tags" name="addtags" /> + </form> + <br> + <div class="tags"> + <p class="gbobject-tags span-16 last"> + <strong>{% trans "Tags" %}</strong> : + {% tags_for_object child as tag_list %} + {% for tag in tag_list %} + <a href="{% url objectapp_tag_detail tag %}" + title="Tag {{ tag }}" rel="tag">{{ tag }}</a> + {% empty %} + <span>{% trans "No tags" %}</span> + {% endfor %} + </p> + </div> + </form> {% show_commentpage child idusr flag admin_id attribute%} </li> |