aboutsummaryrefslogtreecommitdiffstats
path: root/src/templates/config_bundle/steps/assign_host_roles.html
blob: b87a17fbe8dedc71b789981e5aa34f7db96f6eb8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{% extends "config_bundle/steps/table_formset.html" %}

{% load bootstrap4 %}

{% block table %}
<thead>
    <tr>
        <th>Host</th>
        <th>Role</th>
    </tr>
</thead>
<tbody>
    {% for form in formset %}
    <tr>
        <td>{% bootstrap_field form.host_name show_label=False %}</td>
        <td>{% bootstrap_field form.role  show_label=False %}</td>
    </tr>
    {% endfor %}
</tbody>

{{formset.management_form}}
{% endblock table %}