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' %}