1234567891011121314151617181920212223242526272829303132 |
- {% extends "base.html" %} {% block content %}
- {% load taggit_templatetags2_tags %}
- {% get_taglist as tags for 'application.post' %}
- <div id="">
- <ul>
- {% for tag in tags %}
- <li>{{tag}} ({{tag.num_times}})
- </li>
- {{ result }}
- {% endfor %}
- </ul>
- </div>
- {% include "taggit_templatetags2/tagcanvas_include_js_static.html" %}
-
- <div id="tag-cloud">
- </div>
-
- <form type="get" action="." style="margin: 0">
- <input id="search_box" type="text" name="search_box" placeholder="Search..." >
- <button id="search_submit" type="submit" >Submit</button>
- </form>
- <div>
- <ul>
- {% for tag in tags %}
- <li>
- {{tag}}
- </li>
- {% endfor %}
-
- </ul>
- </div>
- {% endblock %}
|