Skip to content

Commit

Permalink
MDL-80313 behat: remove dupe type attribute
Browse files Browse the repository at this point in the history
Because of Masterminds/html5-php#242

that duplicate attribute is causing problems. As far as we don't
need it, we proceed to remove leaving only the type=submit that
will make NonJS behat tests (BrowserKit) happy.
  • Loading branch information
stronk7 committed Jan 5, 2024
1 parent 8a18dbe commit 2283180
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion course/templates/activity_list.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
placeholder="{{#str}}search, core {{/str}}" {{#query}} value="{{query}}" autofocus {{/query}}
>
<div class="input-group-append">
<button type="submit" class="btn btn-outline-secondary rounded-right" type="button">
<button type="submit" class="btn btn-outline-secondary rounded-right">
<i class="icon fa fa-search fa-fw m-0" aria-hidden="true"></i>
<span class="sr-only">{{#str}}submitsearch, course {{/str}}</span>
</button>
Expand Down

0 comments on commit 2283180

Please sign in to comment.