2016-10-28 00:09:24 +00:00
|
|
|
{% extends "topologie/sidebar.html" %}
|
|
|
|
{% load bootstrap3 %}
|
|
|
|
|
|
|
|
{% block title %}Création et modification d'un switch{% endblock %}
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
{% if topoform %}
|
|
|
|
{% bootstrap_form_errors topoform %}
|
|
|
|
{% endif %}
|
|
|
|
{% if machineform %}
|
|
|
|
{% bootstrap_form_errors machineform %}
|
|
|
|
{% endif %}
|
|
|
|
{% if interfaceform %}
|
|
|
|
{% bootstrap_form_errors interfaceform %}
|
|
|
|
{% endif %}
|
2016-12-24 19:20:25 +00:00
|
|
|
{% if domainform %}
|
|
|
|
{% bootstrap_form_errors domainform %}
|
|
|
|
{% endif %}
|
|
|
|
|
2016-10-28 00:09:24 +00:00
|
|
|
|
|
|
|
|
|
|
|
<form class="form" method="post">
|
|
|
|
{% csrf_token %}
|
|
|
|
{% if topoform %}
|
|
|
|
{% bootstrap_form topoform %}
|
|
|
|
{% endif %}
|
|
|
|
{% if machineform %}
|
|
|
|
{% bootstrap_form machineform %}
|
|
|
|
{% endif %}
|
|
|
|
{% if interfaceform %}
|
|
|
|
{% bootstrap_form interfaceform %}
|
|
|
|
{% endif %}
|
2016-12-24 19:20:25 +00:00
|
|
|
{% if domainform %}
|
|
|
|
{% bootstrap_form domainform %}
|
|
|
|
{% endif %}
|
2016-10-28 00:09:24 +00:00
|
|
|
{% bootstrap_button "Créer ou modifier" button_type="submit" icon="ok" %}
|
|
|
|
</form>
|
|
|
|
<br />
|
|
|
|
<br />
|
|
|
|
<br />
|
|
|
|
{% endblock %}
|