diff --git a/styles/sections/_application_edit.scss b/styles/sections/_application_edit.scss index 45a5ad12..a24d9373 100644 --- a/styles/sections/_application_edit.scss +++ b/styles/sections/_application_edit.scss @@ -5,6 +5,10 @@ .usa-input { margin: 0 ($gap * 4) 0 0; + flex-grow: 2; + } + + .application-edit__env-list-item-block { flex-grow: 1; } diff --git a/templates/fragments/applications/edit_application_form.html b/templates/fragments/applications/edit_application_form.html deleted file mode 100644 index ef5dd455..00000000 --- a/templates/fragments/applications/edit_application_form.html +++ /dev/null @@ -1,8 +0,0 @@ -{% from "components/text_input.html" import TextInput %} - -{{ form.csrf_token }} -

- {{ "fragments.edit_application_form.explain" | translate }} -

-{{ TextInput(form.name) }} -{{ TextInput(form.description, paragraph=True) }} diff --git a/templates/portfolios/applications/new.html b/templates/portfolios/applications/new.html index 4740fc56..2399b637 100644 --- a/templates/portfolios/applications/new.html +++ b/templates/portfolios/applications/new.html @@ -37,7 +37,26 @@ {% endcall %} - {% include "fragments/applications/edit_application_form.html" %} + {{ form.csrf_token }} +

+ {{ "fragments.edit_application_form.explain" | translate }} +

+
+
+ {{ TextInput(form.name) }} +
+
+   +
+
+
+
+ {{ TextInput(form.description, paragraph=True) }} +
+
+   +
+
{# this extra div prevents this bug: https://www.pivotaltracker.com/story/show/160768940 #}
@@ -57,22 +76,29 @@
  • - - + +
    +
    +
    -
  • -
    diff --git a/translations.yaml b/translations.yaml index 6299ca0e..fc61ace9 100644 --- a/translations.yaml +++ b/translations.yaml @@ -400,6 +400,7 @@ portfolios: applications: add_application_text: Add a new application add_environment: Add new environment + add_another_environment: Add another environment app_settings_text: App settings create_button_text: Create csp_console_text: CSP console