Skip to content

Commit 4f065ce

Browse files
committed
Don't add form-control class to reset button
1 parent 0952637 commit 4f065ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Manavo/BootstrapForms/FormBuilder.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ public function closeGroup()
7373
public function input($type, $name, $value = null, $options = array())
7474
{
7575
// Don't add form-control for some input types (like submit, checkbox, radio)
76-
if (!in_array($type, ['submit', 'checkbox', 'radio'])) {
76+
if (!in_array($type, ['submit', 'checkbox', 'radio', 'reset'])) {
7777
$options = $this->appendClassToOptions('form-control', $options);
7878
}
7979

0 commit comments

Comments
 (0)