diff --git a/app/views/search/index.html.slim b/app/views/search/index.html.slim index 9b44600..278e549 100644 --- a/app/views/search/index.html.slim +++ b/app/views/search/index.html.slim @@ -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