Added _ as a usable search character

This commit is contained in:
neviyn 2021-04-30 16:55:33 +01:00
parent cb729f6be4
commit 0d325506e0

View File

@ -20,7 +20,8 @@
</div> </div>
<div class="row justify-content-center"> <div class="row justify-content-center">
<form class="col-6 text-center" action="/gallery"> <form class="col-6 text-center" action="/gallery">
<input class="form-control" id="imageSearch" pattern="[a-zA-Z0-9\s]*" placeholder="Ex: blue_eyes smile" type="search" name="tags"> <!--suppress HtmlFormInputWithoutLabel -->
<input class="form-control" id="imageSearch" pattern="[a-zA-Z0-9\s_]*" placeholder="Ex: blue_eyes smile" type="search" name="tags">
<button class="btn btn-primary mt-1 w-25" type="submit">Search</button> <button class="btn btn-primary mt-1 w-25" type="submit">Search</button>
</form> </form>
</div> </div>