@@ 1142-1144 (lines=3) @@ | ||
1139 | $sections = new XMLElement('fieldset'); |
|
1140 | ||
1141 | $this->appendSelectionSelect($sections); |
|
1142 | if (is_array($errors) && isset($errors['sections'])) { |
|
1143 | $sections = Widget::Error($sections, $errors['sections']); |
|
1144 | } |
|
1145 | $wrapper->appendChild($sections); |
|
1146 | ||
1147 | // elements |
@@ 238-240 (lines=3) @@ | ||
235 | // sections |
|
236 | $sections = new XMLElement('div', null, array('class' => 'column')); |
|
237 | $this->appendSelectionSelect($sections); |
|
238 | if (is_array($errors) && isset($errors['sections'])) { |
|
239 | $sections = Widget::Error($sections, $errors['sections']); |
|
240 | } |
|
241 | $group->appendChild($sections); |
|
242 | ||
243 | // field |
|
@@ 246-248 (lines=3) @@ | ||
243 | // field |
|
244 | $field = new XMLElement('div', null, array('class' => 'column')); |
|
245 | $this->appendFieldSelect($field); |
|
246 | if (is_array($errors) && isset($errors['field'])) { |
|
247 | $field = Widget::Error($field, $errors['field']); |
|
248 | } |
|
249 | $group->appendChild($field); |
|
250 | ||
251 | $wrapper->appendChild($fieldset); |