mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-29 16:54:04 +02:00
Remove obsolete form classes
This commit is contained in:
parent
946903af37
commit
912b3a6478
@ -363,7 +363,6 @@ class Form extends Zend_Form
|
||||
array(
|
||||
'name' => 'btn_submit',
|
||||
'label' => $this->submitLabel,
|
||||
'class' => 'button btn btn-cta'
|
||||
)
|
||||
);
|
||||
$this->addElement($submitButton);
|
||||
@ -616,9 +615,6 @@ class Form extends Zend_Form
|
||||
$el->removeDecorator('Label');
|
||||
$el->removeDecorator('DtDdWrapper');
|
||||
$el->addDecorator(new BootstrapForm());
|
||||
if ($el->getId() === 'btn_submit' || stripos($el->getAttrib('class'), 'btn') === false) {
|
||||
$el->setAttrib('class', $el->getAttrib('class') . ' form-control input-sm');
|
||||
}
|
||||
}
|
||||
|
||||
return $this;
|
||||
|
Loading…
x
Reference in New Issue
Block a user