Commit 0ee01627 authored by webchick's avatar webchick

Issue #1853636 by webchick: Fixed The Views wizard looks terrible after...

Issue #1853636 by webchick: Fixed The Views wizard looks terrible after fieldsets were replaced with details.
parent 7d26fa30
......@@ -209,7 +209,7 @@ function build_form(array $form, array &$form_state) {
$this->build_sorts($form, $form_state);
$form['displays']['page'] = array(
'#type' => 'details',
'#type' => 'fieldset',
'#attributes' => array('class' => array('views-attachment', 'fieldset-no-legend')),
'#tree' => TRUE,
);
......@@ -246,7 +246,7 @@ function build_form(array $form, array &$form_state) {
'#field_prefix' => $path_prefix,
);
$form['displays']['page']['options']['style'] = array(
'#type' => 'details',
'#type' => 'fieldset',
'#attributes' => array('class' => array('container-inline', 'fieldset-no-legend')),
);
......@@ -352,7 +352,7 @@ function build_form(array $form, array &$form_state) {
}
$form['displays']['block'] = array(
'#type' => 'details',
'#type' => 'fieldset',
'#attributes' => array('class' => array('views-attachment', 'fieldset-no-legend')),
'#tree' => TRUE,
);
......@@ -383,7 +383,7 @@ function build_form(array $form, array &$form_state) {
'#type' => 'textfield',
);
$form['displays']['block']['options']['style'] = array(
'#type' => 'details',
'#type' => 'fieldset',
'#attributes' => array('class' => array('container-inline', 'fieldset-no-legend')),
);
......
......@@ -31,7 +31,7 @@ public function form(array $form, array &$form_state, EntityInterface $view) {
$form['#attributes']['class'] = array('views-admin');
$form['name'] = array(
'#type' => 'details',
'#type' => 'fieldset',
'#attributes' => array('class' => array('fieldset-no-legend')),
);
......@@ -80,7 +80,7 @@ public function form(array $form, array &$form_state, EntityInterface $view) {
// Create the part of the form that allows the user to select the basic
// properties of what the view will display.
$form['displays']['show'] = array(
'#type' => 'details',
'#type' => 'fieldset',
'#tree' => TRUE,
'#attributes' => array('class' => array('container-inline')),
);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment