aboutsummaryrefslogtreecommitdiffstats
path: root/src/templates/config_bundle/steps/assign_host_roles.html
diff options
context:
space:
mode:
authorParker Berberian <pberberian@iol.unh.edu>2019-05-03 18:16:41 +0000
committerGerrit Code Review <gerrit@opnfv.org>2019-05-03 18:16:41 +0000
commitdc690ef43cc7af006c0900e8eaf1635141f0a2a1 (patch)
tree08ba81054bbd2fb10460fad7b03b36d59f386ff9 /src/templates/config_bundle/steps/assign_host_roles.html
parent2fec9e57b50fee61e896f820d28aa363982413e9 (diff)
parent04b676a8bc7209b8017395dc9bb36086283ac72c (diff)
Merge "Implement OPNFV workflow"
Diffstat (limited to 'src/templates/config_bundle/steps/assign_host_roles.html')
-rw-r--r--src/templates/config_bundle/steps/assign_host_roles.html22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/templates/config_bundle/steps/assign_host_roles.html b/src/templates/config_bundle/steps/assign_host_roles.html
new file mode 100644
index 0000000..3ba7665
--- /dev/null
+++ b/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 %}