Add plaeholder for review submit output fields
This commit is contained in:
parent
a008affb73
commit
fa74074bca
@ -1,15 +1,27 @@
|
|||||||
from wtforms.fields import StringField
|
from wtforms.fields import StringField
|
||||||
|
from wtforms.fields.html5 import EmailField
|
||||||
from wtforms.validators import Required, Email, Length
|
from wtforms.validators import Required, Email, Length
|
||||||
from .forms import ValidatedForm
|
from .forms import ValidatedForm
|
||||||
from .validators import IsNumber, Alphabet
|
from .validators import IsNumber, Alphabet
|
||||||
|
|
||||||
|
|
||||||
class POCForm(ValidatedForm):
|
class POCForm(ValidatedForm):
|
||||||
fname_poc = StringField("POC First Name", validators=[Required(), Alphabet()])
|
fname_poc = StringField(
|
||||||
lname_poc = StringField("POC Last Name", validators=[Required(), Alphabet()])
|
"POC First Name",
|
||||||
|
# validators=[Required(), Alphabet()]
|
||||||
|
)
|
||||||
|
|
||||||
email_poc = StringField("POC Email Address", validators=[Required(), Email()])
|
lname_poc = StringField(
|
||||||
|
"POC Last Name",
|
||||||
|
# validators=[Required(), Alphabet()]
|
||||||
|
)
|
||||||
|
|
||||||
|
email_poc = EmailField(
|
||||||
|
"POC Email Address",
|
||||||
|
# validators=[Required(), Email()]
|
||||||
|
)
|
||||||
|
|
||||||
dodid_poc = StringField(
|
dodid_poc = StringField(
|
||||||
"DOD ID", validators=[Required(), Length(min=10), IsNumber()]
|
"DOD ID",
|
||||||
|
# validators=[Required(), Length(min=10), IsNumber()]
|
||||||
)
|
)
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
from wtforms.fields.html5 import IntegerField
|
from wtforms.fields.html5 import IntegerField
|
||||||
from wtforms.fields import RadioField, StringField, TextAreaField, SelectField, BooleanField, SelectMultipleField
|
from wtforms.fields import RadioField, StringField, TextAreaField, SelectField
|
||||||
from wtforms.validators import NumberRange, InputRequired
|
from wtforms.validators import NumberRange, InputRequired
|
||||||
from .fields import DateField
|
from .fields import DateField
|
||||||
from .forms import ValidatedForm
|
from .forms import ValidatedForm
|
||||||
|
@ -17,6 +17,23 @@
|
|||||||
|
|
||||||
<p class="usa-font-lead">Before you can submit your request, please take a moment to review the information entered in the form. You may make changes by clicking the edit link on each section. When all information looks right, go ahead and submit.</p>
|
<p class="usa-font-lead">Before you can submit your request, please take a moment to review the information entered in the form. You may make changes by clicking the edit link on each section. When all information looks right, go ahead and submit.</p>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
{{ data['details_of_use']['dod_component'] }}
|
||||||
|
{{ data['details_of_use']['fname_request'] }}
|
||||||
|
{{ data['details_of_use']['lname_request'] }}
|
||||||
|
{{ data['details_of_use']['email_request'] }}
|
||||||
|
{{ data['details_of_use']['phone_number'] }}
|
||||||
|
{{ data['details_of_use']['service_branch'] }}
|
||||||
|
{{ data['details_of_use']['citizenship'] }}
|
||||||
|
{{ data['details_of_use']['designation'] }}
|
||||||
|
{{ data['details_of_use']['date_latest_training'] }}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<br><br><br><br>
|
||||||
<h3>Details of Use <a href="{{ reverse_url('request_form_update', 1, request_id) }}">Edit</a></h3>
|
<h3>Details of Use <a href="{{ reverse_url('request_form_update', 1, request_id) }}">Edit</a></h3>
|
||||||
|
|
||||||
<h4>Overall Request Details</h4>
|
<h4>Overall Request Details</h4>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user