Only show environment fields in form when a new project is created

This commit is contained in:
leigh-mil 2018-10-15 14:03:13 -04:00
parent 25b84a4df6
commit b9a2d667f6

View File

@ -48,6 +48,7 @@
</div>
</div>
{% if new_project %}
<div class="block-list project-list-item">
<header class="block-list__header block-list__header--grow">
<h2 class="block-list__title">Project Environments</h2>
@ -73,6 +74,7 @@
<button v-on:click="addEnvironment" class="icon-link" tabindex="0" type="button">Add another environment</button>
</div>
</div>
{% endif %}
<div class="action-group">
<button class="usa-button usa-button-primary" tabindex="0" type="submit">{{ action_text }} Project</button>