Update formatting

Remove html tags from translations file
Rename csp_cost_estimate to pdf
This commit is contained in:
leigh-mil
2019-01-11 09:41:03 -05:00
parent b18e3a9e10
commit 52b3b054b5
7 changed files with 47 additions and 58 deletions

View File

@@ -26,7 +26,7 @@ class TaskOrders(object):
"funding": [
"performance_length",
"start_date",
"csp_cost_estimate",
# "pdf",
"end_date",
"clin_01",
"clin_02",

View File

@@ -86,9 +86,9 @@ class FundingForm(CacheableForm):
end_date = DateField(
translate("forms.task_order.end_date_label"), format="%m/%d/%Y"
)
csp_cost_estimate = FileField(
translate("forms.task_order.csp_cost_est_label"),
description=translate("forms.task_order.csp_cost_est_description"),
pdf = FileField(
translate("forms.task_order.pdf_label"),
description=translate("forms.task_order.pdf_description"),
)
clin_01 = IntegerField(translate("forms.task_order.clin_01_label"))
clin_02 = IntegerField(translate("forms.task_order.clin_02_label"))

View File

@@ -15,7 +15,6 @@ from atst.domain.workspaces import Workspaces
from atst.domain.workspace_roles import WorkspaceRoles
import atst.forms.task_order as task_order_form
from atst.services.invitation import Invitation as InvitationService
from atst.utils.localization import translate
TASK_ORDER_SECTIONS = [