Not Working condition
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
{% extends "base.html" %}
|
||||
|
||||
{% block body %}
|
||||
<h1>Neue Nachricht </h1>
|
||||
<form method="POST">
|
||||
{% csrf_token %}
|
||||
{{ form.as_p }}
|
||||
<button type="submit" class="save btn btn-default">Speichern</button>
|
||||
</form>
|
||||
{% endblock %}
|
||||
@@ -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 %}
|
||||
Reference in New Issue
Block a user