Only show environment fields in form when a new project is created
This commit is contained in:
parent
25b84a4df6
commit
b9a2d667f6
@ -48,6 +48,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
{% if new_project %}
|
||||||
<div class="block-list project-list-item">
|
<div class="block-list project-list-item">
|
||||||
<header class="block-list__header block-list__header--grow">
|
<header class="block-list__header block-list__header--grow">
|
||||||
<h2 class="block-list__title">Project Environments</h2>
|
<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>
|
<button v-on:click="addEnvironment" class="icon-link" tabindex="0" type="button">Add another environment</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
<div class="action-group">
|
<div class="action-group">
|
||||||
<button class="usa-button usa-button-primary" tabindex="0" type="submit">{{ action_text }} Project</button>
|
<button class="usa-button usa-button-primary" tabindex="0" type="submit">{{ action_text }} Project</button>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user