djLint/tests/source_django/form_view.html
2021-12-14 09:57:37 +01:00

18 lines
466 B
HTML

{% extends "base.html" %}
{% block title %}Submit data{% endblock %}
{% block content %}
<h1>{{ message }}</h1>
<form method="post">
{% if form.errors %}
<p class='warning'>
Please correct the errors below:
</p>
{% endif %}
<ul class='form'>
{{ form }}
<li>
<input type='submit' value='Submit'>
</li>
</ul>
</form>
{% endblock %}