summaryrefslogtreecommitdiffstats
path: root/ogcp/templates/actions/delete_repo.html
diff options
context:
space:
mode:
Diffstat (limited to 'ogcp/templates/actions/delete_repo.html')
-rw-r--r--ogcp/templates/actions/delete_repo.html29
1 files changed, 24 insertions, 5 deletions
diff --git a/ogcp/templates/actions/delete_repo.html b/ogcp/templates/actions/delete_repo.html
index 17902dd..8c32a8c 100644
--- a/ogcp/templates/actions/delete_repo.html
+++ b/ogcp/templates/actions/delete_repo.html
@@ -9,9 +9,28 @@
<h2 class="mx-5 subhead-heading">{{_('Delete repo')}}</h2>
-{{ wtf.quick_form(form,
- action=url_for('action_repo_delete'),
- method='post',
- button_map={'submit': 'danger'},
- extra_classes="mx-5") }}
+<form class="form mx-5" method="POST">
+ {{ form.hidden_tag() }}
+
+ {{ form.server() }}
+ {{ form.repo_id() }}
+
+ <div class="form-group">
+ {{ form.name.label }}
+ {{ form.name(class="form-control") }}
+ </div>
+
+ <div class="form-group" id="ip-fields">
+ {{ form.addr.label }}
+ {% for addr in form.addr %}
+ {{ addr(class="form-control mb-2") }}
+ {% endfor %}
+ </div>
+
+ <div class="form-group">
+ {{ form.submit(class="btn btn-primary") }}
+ </div>
+
+</form>
+
{% endblock %}