Browse Source

Use <input type="search"> in search forms

merge-requests/88/head
Deimos 5 years ago
parent
commit
6f3e1ebbae
  1. 2
      tildes/tildes/templates/macros/forms.jinja2
  2. 2
      tildes/tildes/templates/user.jinja2

2
tildes/tildes/templates/macros/forms.jinja2

@ -73,7 +73,7 @@
>
<div class="input-group">
<input
type="text"
type="search"
class="form-input input-sm"
name="q"
id="q"

2
tildes/tildes/templates/user.jinja2

@ -92,7 +92,7 @@
<input type="hidden" name="type" value="{{ post_type }}">
<div class="input-group">
<input type="text" class="form-input input-sm" name="q" id="q" placeholder="Search your {{ post_type }}s" value="{{ search }}">
<input type="search" class="form-input input-sm" name="q" id="q" placeholder="Search your {{ post_type }}s" value="{{ search }}">
<button class="btn btn-sm btn-link">Search</button>
</div>
</form>

Loading…
Cancel
Save