diff --git a/app/assets/stylesheets/lugs.sass b/app/assets/stylesheets/lugs.sass index 5c8f4c26..4439d56a 100644 --- a/app/assets/stylesheets/lugs.sass +++ b/app/assets/stylesheets/lugs.sass @@ -33,5 +33,7 @@ form#lug_search font-size: larger margin-top: 0.2em background-color: transparent - &:hover + &:hover em.fa color: #2E97FF + span.label + display: none diff --git a/app/helpers/events_helper.rb b/app/helpers/events_helper.rb index 305f2eed..1c53e593 100644 --- a/app/helpers/events_helper.rb +++ b/app/helpers/events_helper.rb @@ -3,7 +3,7 @@ module EventsHelper def set_events_meta set_meta_tags \ description: t('layouts.application.subtitle'), - keywords: @events.pluck(:tags).join(' ').split.group_by { |i| i } + keywords: @events.map { |e| e.tags }.join(' ').split.group_by { |i| i } .reject { |_k, v| v.size < 2 }.map { |k, _v| k }, DC: { title: t('layouts.application.title'), diff --git a/app/views/lugs/_search.html.haml b/app/views/lugs/_search.html.haml index 800d4230..4a46f125 100644 --- a/app/views/lugs/_search.html.haml +++ b/app/views/lugs/_search.html.haml @@ -6,3 +6,4 @@ placeholder: t('.title', entity: Lug.model_name.human) = f.button class: :search do %em.fa.fa-search + %span.label=t '.label'