Add in environment section to Edit Project Page

This commit is contained in:
leigh-mil 2018-10-16 14:58:35 -04:00
parent ff88c5c34a
commit 92fc5e6e76

View File

@ -11,6 +11,26 @@
{% include "fragments/edit_project_form.html" %}
<div class="block-list project-list-item">
<header class="block-list__header block-list__header--grow">
<h2 class="block-list__title">Project Environments</h2>
<p>
Each environment created within a project is an enclave of cloud resources that is logically separated from each other for increased security.
</p>
</header>
<ul>
{% for environment in project.environments %}
<li class="block-list__item project-edit__env-list-item">
<div class="usa-input">
<label>Environment Name</label>
<input type="text" value="{{ environment.name }}" readonly />
</div>
</li>
{% endfor %}
</ul>
</div>
<div class="action-group">
<button class="usa-button usa-button-primary" tabindex="0" type="submit">Update Project</button>
</div>