Implement form objects for request forms
This commit is contained in:
committed by
Jason Garber
parent
4dd4fbf201
commit
9152ffe91e
24
templates/requests/screen-1-test.html.to
Normal file
24
templates/requests/screen-1-test.html.to
Normal 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 %}
|
||||
|
Reference in New Issue
Block a user