Not Working condition

This commit is contained in:
2021-11-24 12:58:02 +01:00
parent f96ca949f0
commit 72c6a3762d
8 changed files with 80 additions and 11 deletions
+16 -1
View File
@@ -1,2 +1,17 @@
{% extends "base.html" %}
{% block body %} <h1> sytle="text-align:center" {{ name }} </h1> {% endblock body %}
{% block title %}
News
{% endblock %}
{% block body %}
<div>
{% for notice in notices %}
<h3> {{ notice.notice_title }}</h3>
<p> {{ notice.notice_text }}</p>
<p><a class="btn btn-info" role="button"> href={% url 'delete' id=n %} Löschen </a></p>
{% endfor %}
</div>
<p><a href="{% url 'new' %}" class="btn btn-info" role="button">Neue Nachricht</a></p>
{% endblock %}