checkbox fields for inviting KO, etc, on task order form

This commit is contained in:
dandds 2019-01-03 13:00:34 -05:00
parent 657b17c1ac
commit cceb6bf868
2 changed files with 32 additions and 1 deletions

View File

@ -1,4 +1,5 @@
from wtforms.fields import (
BooleanField,
IntegerField,
RadioField,
SelectField,
@ -96,6 +97,33 @@ class OversightForm(CacheableForm):
so_email = StringField("Email")
so_dod_id = StringField("DOD ID")
ko_invite = BooleanField(
"Invite KO to Task Order Builder",
description="""
Your KO will need to approve funding for this Task Order by logging
into the JEDI Cloud Portal, submitting the Task Order documents
within their official system of record, and electronically signing.
<i>You may choose to skip this for now and invite them later.</i>
""",
)
cor_invite = BooleanField(
"Invite COR to Task Order Builder",
description="""
Your COR may assist with submitting the Task Order documents within
their official system of record. <i>You may choose to skip this for
now and invite them later.</i>
""",
)
so_invite = BooleanField(
"Invite Security Officer to Task Order Builder",
description="""
Your Security Officer will need to answer some security
configuration questions in order to generate a DD-254 document,
then electronically sign. <i>You may choose to skip this for now
and invite them later.</i>
""",
)
class ReviewForm(CacheableForm):
pass

View File

@ -1,6 +1,7 @@
{% extends 'task_orders/_new.html' %}
{% from "components/user_info.html" import UserInfo %}
{% from "components/checkbox_input.html" import CheckboxInput %}
{% block heading %}
Oversight
@ -12,13 +13,15 @@
<!-- Oversight Section -->
<h3>Contracting Officer (KO) Information</h3>
{{ UserInfo(form.ko_first_name, form.ko_last_name, form.ko_email, form.ko_dod_id) }}
{{ CheckboxInput(form.ko_invite) }}
<h3>Contractive Officer Representative (COR) Information</h3>
{{ UserInfo(form.cor_first_name, form.cor_last_name, form.cor_email, form.cor_dod_id) }}
{{ CheckboxInput(form.cor_invite) }}
<h3>Security Officer Information</h3>
{{ UserInfo(form.so_first_name, form.so_last_name, form.so_email, form.so_dod_id) }}
{{ CheckboxInput(form.so_invite) }}
{% endblock %}