{{ toHtml(this.content) }}
{% if rightHtml %}
-
+
{% if this.wrapRightSideBarInWell %}
{% endif %}
diff --git a/src/templates/Mouf/Html/Template/Menus/BootstrapMenu.twig b/src/templates/Mouf/Html/Template/Menus/BootstrapMenu.twig
index 5962845..7776467 100644
--- a/src/templates/Mouf/Html/Template/Menus/BootstrapMenu.twig
+++ b/src/templates/Mouf/Html/Template/Menus/BootstrapMenu.twig
@@ -1,5 +1,5 @@
{% if (not this.hidden) and children %}
-
-
+
- -{%- if this.url is defined or this.children %}{{ this.label }} {% if children %}{% endif %}{% else %}{{ this.label }}{% endif -%} +
-
+{%- if this.url is defined or this.children %}{{ this.label }} {% if children %}{% endif %}{% else %}{{ this.label }}{% endif -%}
{% if this.children %}
-
-
- {%- for child in this.children -%}
- {{- toHtml(child) -}}
- {%- endfor -%}
-
+ {%- for child in this.children -%} + {% if not child.hidden %} + {{- child.label -}} + {% endif %} + {%- endfor -%} +{%- endif -%}
{% endif %}
-
{% for child in children %}
{{ toHtml(child) }}
{% endfor %}
diff --git a/src/templates/Mouf/Html/Template/Menus/BootstrapNavBar.twig b/src/templates/Mouf/Html/Template/Menus/BootstrapNavBar.twig
index cacd2c4..e507c7d 100644
--- a/src/templates/Mouf/Html/Template/Menus/BootstrapNavBar.twig
+++ b/src/templates/Mouf/Html/Template/Menus/BootstrapNavBar.twig
@@ -1,29 +1,23 @@
{% if not this.allWidth %}
{% endif %}
-
{% if not this.allWidth %}
diff --git a/src/templates/Mouf/Html/Widgets/Form/CheckboxField__inline.php b/src/templates/Mouf/Html/Widgets/Form/CheckboxField__inline.php
index 757f654..ec11ecd 100644
--- a/src/templates/Mouf/Html/Widgets/Form/CheckboxField__inline.php
+++ b/src/templates/Mouf/Html/Widgets/Form/CheckboxField__inline.php
@@ -3,8 +3,12 @@
$input = $object->getInput();
$label = $object->getLabel();
$text = $label->getChildren();
-$text = $text[0];
+if (count($text) > 0) {
+ $text = $text[0];
+}
$label->setChildren([$input]);
-$label->addChild($text);
+if ($text !== null) {
+ $label->addChild($text);
+}
$label->addClass("checkbox-inline");
$label->toHtml();
diff --git a/src/templates/Mouf/Html/Widgets/Menu/MenuItem.twig b/src/templates/Mouf/Html/Widgets/Menu/MenuItem.twig
index d463d04..f18ff51 100644
--- a/src/templates/Mouf/Html/Widgets/Menu/MenuItem.twig
+++ b/src/templates/Mouf/Html/Widgets/Menu/MenuItem.twig
@@ -1,13 +1,15 @@
{% if not this.hidden %}
{% set menuCssClass = this.cssClass ~ (this.active?" active":"") ~ (this.children?" dropdown":"") %}
-