deleted studentpage and added code to bloglist view

This commit is contained in:
Esther Kleinhenz
2018-11-13 19:15:46 +01:00
parent 8fa768fd91
commit 18e4414c44
24 changed files with 373 additions and 213 deletions
@@ -2,9 +2,21 @@
{% load taggit_templatetags2_tags %}
{% get_tagcloud as tags for 'application' %}
{% include_tagcloud 'application.Post' %}
<div>
<form class="post-form" method="post">
{% csrf_token %} {{form.as_p}}
<button type="submit" class="save btn btn-outline-dark">Save</button>
</form>
{% if messages %}
{% for message in messages %}
<div {% if message.tags %} class="{{ message.tags }}" {% endif %}>{{ message }}</div>
{% endfor %}
{% endif %}
<form type="get" action="." style="margin: 0">
<input id="search_box" type="text" name="search_box" placeholder="Search...">
<button id="search_submit" type="submit">Suchen</button>
<input id="search_box" type="text" name="search_box" placeholder="Search..."></br>
<button id="search_submit" type="submit" class="btn btn-outline-dark">Suchen</button>
</form>
<div>
{% for post in posts %}