public static function fileFieldControlGroup($name, $value = '', $htmlOptions = array()) { return self::controlGroup(self::INPUT_TYPE_FILE, $name, $value, $htmlOptions); }
public function testFileFieldControlGroup() { $I = $this->codeGuy; $html = TbHtml::fileFieldControlGroup('file', 'file'); $group = $I->createNode($html, 'div.control-group'); $label = $group->filter('label.control-label'); $I->seeNodeChildren($label, array('input[type=file]')); }