summaryrefslogtreecommitdiffstats
path: root/ogcp/templates/actions/repo_details.html
blob: d91f961ef8151837ab5c16c75d3e284374cec6b8 (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
{% extends 'repos.html' %}
{% import "bootstrap/wtf.html" as wtf %}

{% set sidebar_state = 'disabled' %}
{% set btn_back = true %}

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

<h2 class="mx-5 subhead-heading">{{_('Repo details')}}</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>
</form>

{% endblock %}