Skip to content

Commit

Permalink
Fix form for dep update
Browse files Browse the repository at this point in the history
  • Loading branch information
maricaantonacci committed Oct 17, 2023
1 parent 9f442d8 commit 329f25f
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions app/deployments/templates/updatedep.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,16 @@
<div class="card shadow mb-4">
<div class="card-header py-3">
<h4 class="font-weight-bold text-primary">
Update deployment{% if template['metadata']['display_name'] is defined %}: {{template['metadata']['display_name']}}{% else %}{{selectedTemplate}}{% endif %}
Update deployment {{ depid }}
</h4>
</div>

<div class="card-body">
<div class="alert alert-info">
<strong>Description:</strong> {{template['description']}}
</div>


<form id="depSubmit" action="{{ url_for('deployments_bp.updatedep', template=template) }}" method="post" enctype="multipart/form-data">
<div class="form-group">
<label for="additional_description">Deployment description</label>
<input type="text" class="form-control" id="additional_description" name="additional_description" placeholder="description" value="{{instance_description}}" required>
<input type="text" class="form-control" id="additional_description" name="additional_description" placeholder="description" value="{{instance_description}}" disabled required>
</div>
{% include 'config_form.html' %}
<input type="hidden" name="_depid" id="_depid" value="{{depid}}"/>
Expand Down

0 comments on commit 329f25f

Please sign in to comment.