Django/templates/posts/edit.html

18 lines
336 B
HTML
Raw Normal View History

2019-11-26 15:32:42 +01:00
{% extends '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 %}