Implement form objects for request forms

This commit is contained in:
Brian Duggan
2018-06-08 11:32:19 -04:00
committed by Jason Garber
parent 4dd4fbf201
commit 9152ffe91e
21 changed files with 1673 additions and 1542 deletions

View File

@@ -0,0 +1,24 @@
{% extends '../requests_new.html.to' %}
{% block form %}
form goes here
<br>
{% if f.errors %}
<b>There were some errors</b>
{% end %}
<hr>
{% autoescape None %}
{% for e in f.a.errors %}
<b>{{ e }}</b>
{% end %}
<br>
a: {{ f.a }}
<hr>
b: {{ f.b }}
<br>
{% end %}