summaryrefslogtreecommitdiffstats
path: root/ogcp/templates/actions/delete_repo.html
blob: 8c32a8cc66b1ffce5c87ee9db5ce59ede489ade2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
{% extends 'repos.html' %}
{% import "bootstrap/wtf.html" as wtf %}
{% set btn_back = true %}

{% block nav_repos %} active{% endblock %}
{% block nav_repos_details %} active{% endblock %}
{% block nav_repos_add %}active{% endblock %}
{% block content %}

<h2 class="mx-5 subhead-heading">{{_('Delete repo')}}</h2>

<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 %}