/tests/templates/form_view.html
HTML | 15 lines | 14 code | 1 blank | 0 comment | 0 complexity | b3e5592710f7b13ace94c101101d9910 MD5 | raw file
Possible License(s): BSD-3-Clause
- {% extends "base.html" %}
- {% block title %}Submit data{% endblock %}
- {% block content %}
- <h1>{{ message }}</h1>
- <form method='post' action='.'>
- {% 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 %}