mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-09 17:45:32 -04:00
Autofocus the choose template search box
So you can just start typing as soon as you land on this page. Should mean one less click, so fast for repeat use.
This commit is contained in:
@@ -47,12 +47,14 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div data-module="autofocus">
|
||||||
<div class="live-search" data-module="live-search" data-targets="#template-list .column-whole">
|
<div class="live-search" data-module="live-search" data-targets="#template-list .column-whole">
|
||||||
{{ textbox(
|
{{ textbox(
|
||||||
search_form.search,
|
search_form.search,
|
||||||
width='1-1'
|
width='1-1'
|
||||||
) }}
|
) }}
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<nav class="grid-row" id=template-list>
|
<nav class="grid-row" id=template-list>
|
||||||
{% for template in templates %}
|
{% for template in templates %}
|
||||||
|
|||||||
Reference in New Issue
Block a user