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