From 6facea3272e57905fbed7103ace2b8dbb3dccf66 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABl=20Kervella?= Date: Wed, 18 Oct 2017 19:48:30 +0000 Subject: [PATCH] Fix : oubli de renoomage bft tag -> mbf tag --- re2o/templatetags/massive_bootstrap_form.py | 2 +- topologie/templates/topologie/switch.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/re2o/templatetags/massive_bootstrap_form.py b/re2o/templatetags/massive_bootstrap_form.py index a543d26e..26a9bcc8 100644 --- a/re2o/templatetags/massive_bootstrap_form.py +++ b/re2o/templatetags/massive_bootstrap_form.py @@ -240,7 +240,7 @@ class MBFForm(): self.engine.get(name, None), self.match_func.get(name, None), self.update_on.get(name, None), - self.update_on.get(name, True), + self.gen_select.get(name, True), *self.args, **self.kwargs ) diff --git a/topologie/templates/topologie/switch.html b/topologie/templates/topologie/switch.html index 249097e7..e87570c4 100644 --- a/topologie/templates/topologie/switch.html +++ b/topologie/templates/topologie/switch.html @@ -53,7 +53,7 @@ with this program; if not, write to the Free Software Foundation, Inc., {% massive_bootstrap_form machineform 'user' %} {% endif %} {% if interfaceform %} - {% if i_bft_param %} + {% if i_mbf_param %} {% massive_bootstrap_form interfaceform 'ipv4,machine' mbf_param=i_mbf_param %} {% else %} {% massive_bootstrap_form interfaceform 'ipv4,machine' %}