diff --git a/library/Icinga/Web/Form.php b/library/Icinga/Web/Form.php index 00b2ec4fc..fa1ee7be8 100644 --- a/library/Icinga/Web/Form.php +++ b/library/Icinga/Web/Form.php @@ -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;