['form-horizontal']]; if ($settingsForm) { HTML::attributeAdd($a, 'class', 's-table-settings table'); } else { if ( ! $t['stretch']) { HTML::attributeAdd($a, 'class', 'l-table-form'); } } ?>
> $v) { if ( ! isset($fields[$k])) continue; $f = $fields[$k]; if ($f['tab'] != $t['id']) continue; /** @var Input $field */ $field = $f['field']; if ($field->lang() !== false) { $langForm = true; } if ($field instanceof Fields\Union && $field->langForm()) { $langForm = true; } $opt = [ 'name' => $this->_inputNameGenerator($f['id']), ]; if ($settingsForm) { $opt['odd'] = & $odd; } $this->_fieldActivate($f['id']); $field->beforeView($opt); echo $field->wrapper($field->view($opt), $opt); } } if($langForm) { $localeData = []; echo $this->locale->buildForm($localeData, 'form-content-tab-'.$t['name'], ''); } if ($t['table']){ ?>
js[Form::JS_TOGGLE_IF])) { ?> insertJS(false, Form::JS_INITIONS); ?>