mirror of
https://github.com/standardebooks/web.git
synced 2025-07-15 02:46:46 -04:00
Use enums for HTTP methods in search forms
This commit is contained in:
parent
849276736e
commit
7da87bf9e2
2 changed files with 2 additions and 2 deletions
|
@ -9,7 +9,7 @@
|
|||
|
||||
$isAllSelected = sizeof($tags) == 0 || in_array('all', $tags);
|
||||
?>
|
||||
<form action="/ebooks" method="get" rel="search">
|
||||
<form action="/ebooks" method="<?= Enums\HttpMethod::Get->value ?>" rel="search">
|
||||
<label class="tags">Subjects
|
||||
<select <? if(!Template::IsEreaderBrowser()){ ?> multiple="multiple"<? } ?> name="tags[]" size="1">
|
||||
<option value="all">All</option>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue