MEIM/djp/templates/polls/index.html

25 lines
556 B
HTML
Raw Normal View History

2018-11-05 17:03:33 +01:00
{% extends 'base.html' %}
{% block title %}
Index
{% endblock %}
2018-11-19 17:14:34 +01:00
2018-11-05 17:03:33 +01:00
{% block content %}
<div class="jumbotron jumbotron-fluid">
<div class="container">
<h1>Index der Polls-Applikation</h1>
2018-11-12 17:13:49 +01:00
{% for post in posts %}
2018-11-19 17:14:34 +01:00
<p>{{ post.notice_title }} {{ post.notice_text }}
<a class="btn btn-info" role="button">delete message</a></p>
2018-11-12 17:13:49 +01:00
{% endfor %}
2018-11-05 17:03:33 +01:00
</div>
</div>
2018-11-19 17:14:34 +01:00
<p><a href="{% url 'new' %}" class="btn btn-info" role="button">Neue Nachricht</a></p>
2018-11-05 17:03:33 +01:00
{% endblock %}
2018-11-19 17:14:34 +01:00