Example #1
0
 /**
  * @param CheckableList $control
  * @param Group $group
  */
 protected function extendCheckableList(CheckableList $control, Group $group = null)
 {
     if ($control->isInline()) {
         $control->addClass('list-inline');
     } else {
         $control->addClass('list-unstyled');
     }
     $control->addClass($control->getType());
 }
Example #2
0
 /**
  * @param CheckableList $control
  * @param Group $group
  */
 protected function extendCheckableList(CheckableList $control, Group $group = null)
 {
     if ($control->isInline()) {
         $control->addClass('inline-list');
     } else {
         $control->addClass('no-bullet');
     }
     $control->addClass($control->getType());
 }