Skip to content

Commit

Permalink
Remove the legend
Browse files Browse the repository at this point in the history
Button makes it clear what this form is performing, and a user can easily create a legend using the searchOptions, or replace this element with their own
  • Loading branch information
josegonzalez committed Apr 28, 2016
1 parent d8a7b03 commit 5a47ab3
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/Template/Element/search.ctp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ if (empty($searchInputs)) {
?>

<fieldset>
<legend>Filter</legend>
<?= $this->Form->inputs($searchInputs, ['fieldset' => false]); ?>
<?= $this->Form->button('Filter results', ['type' => 'submit', 'class' => 'btn btn-primary']); ?>
</fieldset>
Expand Down

0 comments on commit 5a47ab3

Please sign in to comment.