From a87f5e66054cb7f40b9057dcb38d8c5c95b6751c 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 d087b0f9..349f45e6 100644 --- a/templates/base.html +++ b/templates/base.html @@ -138,7 +138,7 @@