1. {% extends "base.html" %}
    
  2. {% block title %}Submit data{% endblock %}
    
  3. {% block content %}
    
  4. <h1>{{ message }}</h1>
    
  5. <form method="post">
    
  6. {% if form.errors %}
    
  7. <p class='warning'>Please correct the errors below:</p>
    
  8. {% endif %}
    
  9. <ul class='form'>
    
  10. {{ form }}
    
  11. <li><input type='submit' value='Submit'></li>
    
  12. </ul>
    
  13. </form>
    
  14. 
    
  15. {% endblock %}