mirror of
https://github.com/CodeforLeipzig/stadtratmonitor.git
synced 2024-12-22 23:53:15 +01:00
Autofocus search field
This commit is contained in:
parent
82e61eb651
commit
6bda241d8b
1 changed files with 1 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
||||||
div
|
div
|
||||||
= form_tag(search_path, method: :get)
|
= form_tag(search_path, method: :get)
|
||||||
= text_field_tag(:q, params[:q], placeholder: 'Suche…')
|
= text_field_tag(:q, params[:q], placeholder: 'Suche…', autofocus: true)
|
||||||
|
|
||||||
.clearfix
|
.clearfix
|
||||||
- if @result
|
- if @result
|
||||||
|
|
Loading…
Reference in a new issue