Skip to content

Commit 22ddde4

Browse files
authored
Merge pull request #411 from FriendsOfCake/feat/form-inline-button
Don't wrap buttons with "elementWrapper" for inline forms.
2 parents 3b9d046 + 25c0b10 commit 22ddde4

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

src/View/Helper/FormHelper.php

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -405,16 +405,6 @@ public function label(string $fieldName, ?string $text = null, array $options =
405405
return parent::label($fieldName, $text, $options);
406406
}
407407

408-
/**
409-
* @inheritDoc
410-
*/
411-
public function button(string $title, array $options = []): string
412-
{
413-
$result = parent::button($title, $options);
414-
415-
return $this->_postProcessElement($result, null, $options);
416-
}
417-
418408
/**
419409
* @inheritDoc
420410
*/

0 commit comments

Comments
 (0)