Commit 7cc24788 authored by Maël Kervella's avatar Maël Kervella

Ajoute des titres dans le form pour plus de clareté

parent f0a67150
...@@ -43,9 +43,11 @@ with this program; if not, write to the Free Software Foundation, Inc., ...@@ -43,9 +43,11 @@ with this program; if not, write to the Free Software Foundation, Inc.,
<form class="form" method="post"> <form class="form" method="post">
{% csrf_token %} {% csrf_token %}
{% if machineform %} {% if machineform %}
<h3>Machine</h3>
{% bootstrap_form machineform %} {% bootstrap_form machineform %}
{% endif %} {% endif %}
{% if interfaceform %} {% if interfaceform %}
<h3>Interface</h3>
{% if i_choices %} {% if i_choices %}
{% if i_match_func %} {% if i_match_func %}
{% bootstrap_form_typeahead interfaceform 'ipv4' choices=i_choices match_func=i_match_func %} {% bootstrap_form_typeahead interfaceform 'ipv4' choices=i_choices match_func=i_match_func %}
...@@ -61,6 +63,7 @@ with this program; if not, write to the Free Software Foundation, Inc., ...@@ -61,6 +63,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
{% endif %} {% endif %}
{% endif %} {% endif %}
{% if domainform %} {% if domainform %}
<h3>Domaine</h3>
{% bootstrap_form domainform %} {% bootstrap_form domainform %}
{% endif %} {% endif %}
{% bootstrap_button "Créer ou modifier" button_type="submit" icon="star" %} {% bootstrap_button "Créer ou modifier" button_type="submit" icon="star" %}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment