summaryrefslogtreecommitdiffstats
path: root/dashboard/src/templates/config_bundle/steps/assign_host_roles.html
blob: 3ba76651f09cb05c9fa504df41b7e3ee52320f58 (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 bootstrap3 %}

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