mirror of
https://github.com/CodeforLeipzig/stadtratmonitor.git
synced 2024-12-22 15:43:14 +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
|
||||
= 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
|
||||
- if @result
|
||||
|
|
Loading…
Reference in a new issue