|
12345678910111213141516171819202122232425262728293031 |
- {% 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}}
- <a class="btn btn-outline-dark" href="{% url 'tag_remove' tag.slug %}">
- <span class="glyphicon glyphicon-remove">Remove</span>
- </a>
- </li>
- {{ result }} {% endfor %}
- </ul>
- </div>
- <div>
- </div>
- <form id="searchform" action="{% url 'blog_search_list_view' %}" method="get" accept-charset="utf-8">
- <button class="searchbutton" type="submit">
- <i class="fa fa-search"></i>
- </button>
- <input class="searchfield" id="searchbox" name="q" type="text" placeholder="Search">
- </form>
- <div class="table-responsive">
- <table class="table table-striped table-bordered table-hover">
- </table>
- </div>
-
- <form class="post-form" method="post">
- {% csrf_token %} {{form.as_p}}
- <button type="submit" class="save btn btn-outline-dark">Save</button>
- </form>
- {% endblock %}
|