public static function activeRangeFieldControlGroup($model, $attribute, $htmlOptions = array()) { return self::activeControlGroup(self::INPUT_TYPE_RANGE, $model, $attribute, $htmlOptions); }
public function testActiveRangeFieldControlGroup() { $I = $this->codeGuy; $html = TbHtml::activeRangeFieldControlGroup(new Dummy(), 'range'); $group = $I->createNode($html, 'div.control-group'); $label = $group->filter('label.control-label'); $I->seeNodeChildren($label, array('input[type=range]')); }