예제 #1
0
파일: Field.php 프로젝트: iyoworks/former
 /**
  * Check if a field is unwrappable (no label)
  *
  * @return boolean
  */
 public function isUnwrappable()
 {
     return Former::form()->type == 'inline' or in_array($this->type, array('hidden', 'submit', 'button', 'reset')) or $this->controlGroup and $this->controlGroup->isRaw();
 }