Django/Templates/Posts/index.html

21 lines
319 B
HTML
Raw Normal View History

2019-11-05 15:09:09 +01:00
{% extends 'base.html' %}
{% block title %}
2019-11-19 15:26:29 +01:00
News
2019-11-05 15:09:09 +01:00
{% endblock %}
{% block content %}
<h1> Index der Polls-Applikation</h1>
2019-11-19 15:26:29 +01:00
<div class="container">
2019-11-05 15:09:09 +01:00
2019-11-19 15:26:29 +01:00
{% for notice in notices %}
<h3>{{ notice.notice_title }}</h3>
<p>{{ notice.notice_text }}</p>
{% endfor %}
</div>
2019-11-05 15:09:09 +01:00
{% endblock %}