MEIM_LSG/templates/index.html

14 lines
537 B
HTML
Raw Permalink Normal View History

2018-11-23 12:21:19 +01:00
{% extends "base.html" %}
{% block title %} {{ title }} {% endblock title %}
{% block content %}
2018-11-23 12:38:10 +01:00
{% for notice in notices %}
<div class="jumbotron">
<h1 class="display-6">{{ notice.notice_title }}</h1>
<p class="lead">{{notice.notice_text}}</p>
2018-12-12 20:14:16 +01:00
<p><a href="{% url 'delete' notice.id %}" class="btn btn-info" role="button">Nachricht löschen</a></p>
2018-11-23 12:38:10 +01:00
</div>
{% endfor %}
2018-12-12 20:14:16 +01:00
<p><a href="{% url 'new' %}" class="btn btn-info" role="button">Neue Nachricht</a></p>
2018-11-23 12:21:19 +01:00
{% endblock content %}