From b9a2d667f682714880cafc3af4511bc478aa0662 Mon Sep 17 00:00:00 2001 From: leigh-mil Date: Mon, 15 Oct 2018 14:03:13 -0400 Subject: [PATCH] Only show environment fields in form when a new project is created --- templates/fragments/edit_project_form.html | 46 +++++++++++----------- 1 file changed, 24 insertions(+), 22 deletions(-) diff --git a/templates/fragments/edit_project_form.html b/templates/fragments/edit_project_form.html index a5c6d485..b55b9f7b 100644 --- a/templates/fragments/edit_project_form.html +++ b/templates/fragments/edit_project_form.html @@ -48,31 +48,33 @@ -
-
-

Project Environments

-

- Each environment created within a project is an enclave of cloud resources that is logically separated from each other for increased security. -

-
+ {% if new_project %} +
+
+

Project Environments

+

+ Each environment created within a project is an enclave of cloud resources that is logically separated from each other for increased security. +

+
-
    -
  • -
    - - -
    - -
  • -
+
    +
  • +
    + + +
    + +
  • +
- -
+ {% endif %}