From 7e5843c995d2b22decbf1af5b339e74976e0c35e Mon Sep 17 00:00:00 2001 From: Andrew Croce Date: Tue, 4 Sep 2018 11:16:09 -0400 Subject: [PATCH] update various labels and placeholders --- atst/forms/financial.py | 28 +++++++++++++++++----------- 1 file changed, 17 insertions(+), 11 deletions(-) diff --git a/atst/forms/financial.py b/atst/forms/financial.py index 8582486b..4e78c67c 100644 --- a/atst/forms/financial.py +++ b/atst/forms/financial.py @@ -100,45 +100,51 @@ class BaseFinancialForm(ValidatedForm): ) uii_ids = NewlineListField( - "Unique Item Identifier (UII)s related to your application(s) if you already have them", + "Unique Item Identifier (UII)s related to your application(s) if you already have them.", + description="If you have more than on UII, place each one on a new line.", validators=[Required()], ) pe_id = StringField( - "Program Element (PE) Number related to your request", validators=[Required()] + "Program Element Number", + description="PE numbers help the Department of Defense identify which offices' budgets are contributing towards this resource use.
It should be 7 digits followed by 1-3 letters, and should have a zero as the first and third digits.", + validators=[Required()] ) treasury_code = StringField( - "Program Treasury Code", validators=[Required(), Regexp(TREASURY_CODE_REGEX)] + "Program Treasury Code", + description="Program Treasury Cod (or Appropriations Code) identifies resource types.
It should be a four digit or six digit number, prefixed by one or more zeros.", + validators=[Required(), Regexp(TREASURY_CODE_REGEX)] ) ba_code = StringField( "Program Budget Activity (BA) Code", + description="BA Code is used to identify the purposes, projects, or types of activities financed by the appropriation fund.
It should be two digits, followed by a letter.", validators=[Required(), Regexp(BA_CODE_REGEX)], ) - fname_co = StringField("Contracting Officer First Name", validators=[Required()]) - lname_co = StringField("Contracting Officer Last Name", validators=[Required()]) + fname_co = StringField("KO First Name", validators=[Required()]) + lname_co = StringField("KO Last Name", validators=[Required()]) - email_co = EmailField("Contracting Officer Email", validators=[Required(), Email()]) + email_co = EmailField("KO Email", validators=[Required(), Email()]) - office_co = StringField("Contracting Officer Office", validators=[Required()]) + office_co = StringField("KO Office", validators=[Required()]) fname_cor = StringField( - "Contracting Officer Representative (COR) First Name", validators=[Required()] + "COR First Name", validators=[Required()] ) lname_cor = StringField( - "Contracting Officer Representative (COR) Last Name", validators=[Required()] + "COR Last Name", validators=[Required()] ) email_cor = EmailField( - "Contracting Officer Representative (COR) Email", + "COR Email", validators=[Required(), Email()], ) office_cor = StringField( - "Contracting Officer Representative (COR) Office", validators=[Required()] + "COR Office", validators=[Required()] )