public static function uneditableFieldControlGroup($value = '', $htmlOptions = array()) { return self::controlGroup(self::INPUT_TYPE_UNEDITABLE, '', $value, $htmlOptions); }
public function testUneditableFieldControlGroup() { $I = $this->codeGuy; $html = TbHtml::uneditableFieldControlGroup('Uneditable text'); $group = $I->createNode($html, 'div.control-group'); $controls = $group->filter('div.controls'); $I->seeNodeChildren($controls, array('span.uneditable-input')); }