Le bouton de recherche d'asso a maintenent un libellé

This commit is contained in:
echarp 2014-08-10 12:24:43 +02:00
parent b5ede41a87
commit 4da7a31a45
3 changed files with 5 additions and 2 deletions

View File

@ -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

View File

@ -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'),

View File

@ -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'