aboutsummaryrefslogtreecommitdiffstats
path: root/theme/admin/html/page/search.php
diff options
context:
space:
mode:
authorThomas Lange <code@nerdmind.de>2021-07-28 14:43:47 +0200
committerThomas Lange <code@nerdmind.de>2021-07-28 14:43:47 +0200
commit1017a99e81d0445a8614917a1798bbd02d88d14e (patch)
treee38c8be0d576c5508fe0828456e2967aaea088fa /theme/admin/html/page/search.php
parentc6ca335253153f2c48da1474712f82ea31526d10 (diff)
downloadblog-1017a99e81d0445a8614917a1798bbd02d88d14e.tar.gz
blog-1017a99e81d0445a8614917a1798bbd02d88d14e.tar.xz
blog-1017a99e81d0445a8614917a1798bbd02d88d14e.zip
Add "required" attribute to required form fields
Diffstat (limited to 'theme/admin/html/page/search.php')
-rw-r--r--theme/admin/html/page/search.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/theme/admin/html/page/search.php b/theme/admin/html/page/search.php
index 2bf02be..7d53e3a 100644
--- a/theme/admin/html/page/search.php
+++ b/theme/admin/html/page/search.php
@@ -18,7 +18,7 @@
<i class="fa fa-search"></i><?=$Language->text('search')?></label>
<div class="form-grid-item first">
- <input id="form_query" type="search" name="q" placeholder="<?=$Language->text('placeholder_search')?>" value="<?=escapeHTML($QUERY)?>" autofocus />
+ <input id="form_query" type="search" name="q" placeholder="<?=$Language->text('placeholder_search')?>" value="<?=escapeHTML($QUERY)?>" required autofocus />
</div>
</div>
<div class="form-border-box background padding">