<?php 
/* @var $object Mouf\Html\Widgets\Form\CheckBoxField */
$input = $object->getInput();
$label = $object->getLabel();
$text = $label->getChildren();
$text = $text[0];
$label->setChildren([$input]);
$label->addChild($text);
$label->addClass("checkbox-inline");
$label->toHtml();
<?php 
/* @var $object Mouf\Html\Widgets\Form\CheckBoxField */
$input = $object->getInput();
$label = $object->getLabel();
$label->addChild($input);
$label->addClass("checkbox-inline");
$label->toHtml();
?>
<!-- 
<label class="checkbox-inline">
  <input type="checkbox" id="inlineCheckbox1" value="option1"> 1
</label>
 -->
--- 
+++ 
@@ -2,12 +2,9 @@
 /* @var $object Mouf\Html\Widgets\Form\CheckBoxField */
 $input = $object->getInput();
 $label = $object->getLabel();
-$label->addChild($input);
+$text = $label->getChildren();
+$text = $text[0];
+$label->setChildren([$input]);
+$label->addChild($text);
 $label->addClass("checkbox-inline");
 $label->toHtml();
-?>
-<!-- 
-<label class="checkbox-inline">
-  <input type="checkbox" id="inlineCheckbox1" value="option1"> 1
-</label>
- -->
Set Label's text AFTER checkbox

Signed-off-by: Kevin Nguyen <006815eb9035d5d78bd32c783377981b5c1ce236@thecodingmachine.com>
