From 7c78e59624a13f4c45b31569f84610de85c1d134 Mon Sep 17 00:00:00 2001 From: leigh-mil Date: Sun, 19 Jan 2020 07:09:25 -0500 Subject: [PATCH] Update copy on new portfolio form. Style cancel link as a button. --- atst/forms/portfolio.py | 1 + templates/portfolios/new/step_1.html | 9 ++++----- translations.yaml | 6 ++++++ 3 files changed, 11 insertions(+), 5 deletions(-) diff --git a/atst/forms/portfolio.py b/atst/forms/portfolio.py index 069659bb..591cc080 100644 --- a/atst/forms/portfolio.py +++ b/atst/forms/portfolio.py @@ -28,6 +28,7 @@ class PortfolioForm(BaseForm): class PortfolioCreationForm(PortfolioForm): defense_component = SelectMultipleField( + translate("forms.portfolio.defense_component.title"), choices=SERVICE_BRANCHES, widget=ListWidget(prefix_label=False), option_widget=CheckboxInput(), diff --git a/templates/portfolios/new/step_1.html b/templates/portfolios/new/step_1.html index 4a499821..d3d34a10 100644 --- a/templates/portfolios/new/step_1.html +++ b/templates/portfolios/new/step_1.html @@ -12,9 +12,9 @@ {% include "fragments/flash.html" %}

{{ "portfolios.header" | translate }}

-

{{ "New Portfolio" }}

+

{{ "portfolios.new.title" | translate }}

- {{ StickyCTA(text="Create New Portfolio") }} + {{ StickyCTA(text="portfolios.new.cta_step_1"|translate, context=("portfolios.new.sticky_header_context"|translate({"step": "1"}) )) }}
@@ -39,9 +39,9 @@