/** * Check if a field is unwrappable (no label) * * @return boolean */ public function isUnwrappable() { return $this->form and $this->currentFramework()->is('Nude') or $this->form and $this->isOfType('inline') or $this->isButton() or $this->isOfType('hidden') or \Form\Form\Group::$opened or $this->group and $this->group->isRaw(); }