From d0a33cbb22037d56bc14b131cac35d3230867251 Mon Sep 17 00:00:00 2001 From: chirac Date: Sat, 24 Dec 2016 20:20:25 +0100 Subject: [PATCH] Bricoles --- machines/templates/machines/machine.html | 4 ++++ templates/base.html | 2 +- topologie/templates/topologie/aff_switch.html | 2 +- topologie/templates/topologie/switch.html | 7 +++++++ topologie/views.py | 19 ++++++++++++++++--- 5 files changed, 29 insertions(+), 5 deletions(-) diff --git a/machines/templates/machines/machine.html b/machines/templates/machines/machine.html index f1ae661d..d330b03c 100644 --- a/machines/templates/machines/machine.html +++ b/machines/templates/machines/machine.html @@ -10,6 +10,10 @@ {% if interfaceform %} {% bootstrap_form_errors interfaceform %} {% endif %} +{% if domainform %} +{% bootstrap_form_errors interfaceform %} +{% endif %} +
{% csrf_token %} diff --git a/templates/base.html b/templates/base.html index 298aad2e..174c7afa 100644 --- a/templates/base.html +++ b/templates/base.html @@ -138,7 +138,7 @@