Update copy on new portfolio form. Style cancel link as a button.
This commit is contained in:
parent
0893ec18ce
commit
7c78e59624
@ -28,6 +28,7 @@ class PortfolioForm(BaseForm):
|
|||||||
|
|
||||||
class PortfolioCreationForm(PortfolioForm):
|
class PortfolioCreationForm(PortfolioForm):
|
||||||
defense_component = SelectMultipleField(
|
defense_component = SelectMultipleField(
|
||||||
|
translate("forms.portfolio.defense_component.title"),
|
||||||
choices=SERVICE_BRANCHES,
|
choices=SERVICE_BRANCHES,
|
||||||
widget=ListWidget(prefix_label=False),
|
widget=ListWidget(prefix_label=False),
|
||||||
option_widget=CheckboxInput(),
|
option_widget=CheckboxInput(),
|
||||||
|
@ -12,9 +12,9 @@
|
|||||||
{% include "fragments/flash.html" %}
|
{% include "fragments/flash.html" %}
|
||||||
<div class='portfolio-header__name'>
|
<div class='portfolio-header__name'>
|
||||||
<p>{{ "portfolios.header" | translate }}</p>
|
<p>{{ "portfolios.header" | translate }}</p>
|
||||||
<h1>{{ "New Portfolio" }}</h1>
|
<h1>{{ "portfolios.new.title" | translate }}</h1>
|
||||||
</div>
|
</div>
|
||||||
{{ StickyCTA(text="Create New Portfolio") }}
|
{{ StickyCTA(text="portfolios.new.cta_step_1"|translate, context=("portfolios.new.sticky_header_context"|translate({"step": "1"}) )) }}
|
||||||
<base-form inline-template>
|
<base-form inline-template>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<form id="portfolio-create" class="col" action="{{ url_for('portfolios.create_portfolio') }}" method="POST">
|
<form id="portfolio-create" class="col" action="{{ url_for('portfolios.create_portfolio') }}" method="POST">
|
||||||
@ -39,9 +39,9 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class='action-group-footer'>
|
<div class='action-group-footer'>
|
||||||
{% block next_button %}
|
{% block next_button %}
|
||||||
{{ SaveButton(text=('common.save' | translate), form="portfolio-create", element="input") }}
|
{{ SaveButton(text=('portfolios.new.save' | translate), form="portfolio-create", element="input") }}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
<a href="{{ url_for('atst.home') }}">
|
<a class="usa-button usa-button-secondary" href="{{ url_for('atst.home') }}">
|
||||||
Cancel
|
Cancel
|
||||||
</a>
|
</a>
|
||||||
</form>
|
</form>
|
||||||
@ -49,4 +49,3 @@
|
|||||||
</base-form>
|
</base-form>
|
||||||
</main>
|
</main>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
|
@ -260,6 +260,7 @@ forms:
|
|||||||
marine_corps: Marine Corps
|
marine_corps: Marine Corps
|
||||||
navy: Navy
|
navy: Navy
|
||||||
other: Other
|
other: Other
|
||||||
|
title: Select DoD component(s) funding your Portfolio
|
||||||
validation_message: You must select at least one defense component.
|
validation_message: You must select at least one defense component.
|
||||||
help_text: |
|
help_text: |
|
||||||
<p>
|
<p>
|
||||||
@ -450,6 +451,11 @@ portfolios:
|
|||||||
'False': ""
|
'False': ""
|
||||||
'True': Delete Application
|
'True': Delete Application
|
||||||
header: PORTFOLIO
|
header: PORTFOLIO
|
||||||
|
new:
|
||||||
|
title: New Portfolio
|
||||||
|
cta_step_1: Name and Describe Portfolio
|
||||||
|
sticky_header_context: 'Step {step} of 1'
|
||||||
|
save: Save Portfolio
|
||||||
members:
|
members:
|
||||||
archive_button: Delete member
|
archive_button: Delete member
|
||||||
reports:
|
reports:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user