isParent()) { echo $this->execute('form.node', array('el' => $el)); } else { $type = $el->data('type'); if($type === 'select') { echo $this->execute('form.field.select', array('el' => $el)); } elseif($type === 'checkbox') { echo $this->execute('form.field.checkbox', array('el' => $el)); } elseif($type === 'radio') { echo $this->execute('form.field.radio', array('el' => $el)); } else { if($el->limit() === 1) { echo $this->execute('form.field.text', array('el' => $el)); } else { foreach($el as $value) { echo $this->execute('form.field.text', array('el' => $value)); } } } } ?>