Files
DjangoProjekt/news1/templates/posts/edit.html
T
2019-11-27 10:42:24 +01:00

19 lines
317 B
HTML

{% extends 'posts/base.html'%}
{% block title %}
News
{% endblock %}
{% block content %}
<div class="container">
<h1>Neue Nachricht</h1>
<form method="POST">
{% csrf_token %}
{{ form.as_p }}
<button type="submit" class="save btn btn-default">Speichern</button>
</form>
}
</div>
{% endblock %}