From 17638985e9f96c34f692c8d1373ebdf6298c0ff3 Mon Sep 17 00:00:00 2001 From: Gabriel Detraz 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 @@