isFirstPill = true; // Set some defaults if (!isset($this->formSpec['class'])) { $this->formSpec['class'] = 'container'; } // $this->formSpec['class'] = 'none'; } /** * */ public function fillWrap() { // $this->wrap[WRAP_SETUP_OUTER][WRAP_SETUP_START] = '
'; // $this->wrap[WRAP_SETUP_OUTER][WRAP_SETUP_END] = '
'; $this->wrap[WRAP_SETUP_TITLE][WRAP_SETUP_START] = ''; // Element: Label + Input + Note $this->wrap[WRAP_SETUP_ELEMENT][WRAP_SETUP_START] = '
'; $this->wrap[WRAP_SETUP_ELEMENT][WRAP_SETUP_END] = '
'; $this->wrap[WRAP_SETUP_LABEL][WRAP_SETUP_START] = '
'; $this->wrap[WRAP_SETUP_LABEL][WRAP_SETUP_END] = '
'; $this->wrap[WRAP_SETUP_INPUT][WRAP_SETUP_START] = '
'; $this->wrap[WRAP_SETUP_INPUT][WRAP_SETUP_END] = '
'; $this->wrap[WRAP_SETUP_NOTE][WRAP_SETUP_START] = '
'; $this->wrap[WRAP_SETUP_NOTE][WRAP_SETUP_END] = '
'; $this->wrap[WRAP_SETUP_SUBRECORD][WRAP_SETUP_START] = '
'; $this->wrap[WRAP_SETUP_SUBRECORD][WRAP_SETUP_END] = '
'; $this->wrap[WRAP_SETUP_IN_FIELDSET][WRAP_SETUP_START] = '

'; $this->wrap[WRAP_SETUP_IN_FIELDSET][WRAP_SETUP_END] = '

'; // $this->feDivClass['radio'] = 'radio'; // $this->feDivClass['checkbox'] = 'checkbox'; } /** * @return string */ public function getProcessFilter() { return FORM_ELEMENTS_NATIVE_SUBRECORD; } /** * @return string */ public function doSubrecords() { return ''; } /** * @return string */ public function head() { $html = ''; $html .= '
getAttribute('class', $this->formSpec['class'], TRUE) . '>'; // main
around everything, Whole FORM; class="container" or class="container-fluid" $title = Support::wrapTag('