Add translation label for cor checkbox

This commit is contained in:
Montana 2019-01-14 14:54:48 -05:00
parent dc01a68c29
commit 2145549c1b
3 changed files with 35 additions and 1 deletions

View File

@ -120,6 +120,9 @@ class OversightForm(CacheableForm):
validators=[Required(), Length(min=10), IsNumber()],
)
am_cor = BooleanField(
translate("forms.task_order.oversight_am_cor_label"),
)
cor_first_name = StringField(
translate("forms.task_order.oversight_first_name_label")
)

View File

@ -0,0 +1,31 @@
import FormMixin from '../../mixins/form'
import textinput from '../text_input'
import checkboxinput from '../checkbox_input'
export default {
name: 'cor',
mixins: [FormMixin],
components: {
textinput,
checkboxinput,
},
props: {
initialData: {
type: Object,
default: () => ({})
}
},
data: function () {
const {
am_cor = false
} = this.initialData
return {
am_cor
}
}
}

View File

@ -197,6 +197,7 @@ forms:
oversight_email_label: Email
oversight_phone_label: Phone Number
oversight_dod_id_label: DoD ID
oversight_am_cor_label: I am the Contracting Officer Representative (COR) for this Task Order
ko_invite_label: Invite KO to Task Order Builder
cor_invite_label: Invite COR to Task Order Builder
so_invite_label: Invite Security Officer to Task Order Builder
@ -377,7 +378,6 @@ task_orders:
skip_ko_label: "Skip for now (We'll remind you to enter one later)"
cor_info_title: Contractive Officer Representative (COR) Information
cor_info_paragraph: Your COR may assist in submitting the Task Order documents within thier official system of record. They may also be invited to log in an manage the Task Order entry within the JEDI Cloud portal.
am_cor_label: I am the Contracting Officer Representative (COR) for this Task Order
so_info_title: Security Officer Information
so_info_paragraph: our Security Officer will need to answer some security configuration questions in order to generate a DD-254 document, then electronically sign.
testing: