summaryrefslogtreecommitdiffstats
path: root/dashboard/src/templates/config_bundle/steps/assign_host_roles.html
diff options
context:
space:
mode:
Diffstat (limited to 'dashboard/src/templates/config_bundle/steps/assign_host_roles.html')
-rw-r--r--dashboard/src/templates/config_bundle/steps/assign_host_roles.html22
1 files changed, 22 insertions, 0 deletions
diff --git a/dashboard/src/templates/config_bundle/steps/assign_host_roles.html b/dashboard/src/templates/config_bundle/steps/assign_host_roles.html
new file mode 100644
index 0000000..3ba7665
--- /dev/null
+++ b/dashboard/src/templates/config_bundle/steps/assign_host_roles.html
@@ -0,0 +1,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 %}