mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-27 07:02:26 +00:00
41 lines
935 B
HTML
41 lines
935 B
HTML
{% 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 %}
|
|
{% if domainform %}
|
|
{% bootstrap_form_errors domainform %}
|
|
{% endif %}
|
|
|
|
|
|
|
|
<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 %}
|
|
{% if domainform %}
|
|
{% bootstrap_form domainform %}
|
|
{% endif %}
|
|
{% bootstrap_button "Créer ou modifier" button_type="submit" icon="ok" %}
|
|
</form>
|
|
<br />
|
|
<br />
|
|
<br />
|
|
{% endblock %}
|