summaryrefslogtreecommitdiffstats
path: root/src/templates/resource/steps/host_info.html
blob: 3230d8fa14aff32e44ddf1e2e697d05e2c6497a5 (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
{% extends "workflow/viewport-element.html" %}
{% load staticfiles %}

{% load bootstrap4 %}

{% block content %}

{% if error %}
<p>{{error}}</p>
{% else %}


<form id="step_form" method="post">
    {% csrf_token %}
    <table>
        <thead>
            <tr>
                <th>Type</th>
                <th>Name</th>
            </tr>
        </thead>
        <tbody>
        {% for form in formset %}
            <tr>
                {% for field in form %}
                    <td>{{field}}</td>
                {% endfor %}
            </tr>
        {% endfor %}
    </table>
    {{formset.management_form}}
</form>
{% endif %}
{% endblock content %}