La recherche d'asso est plus propre au niveau du libellé

This commit is contained in:
echarp 2014-08-09 22:34:57 +02:00
parent 6301a83dcc
commit 61ed01ce2e
4 changed files with 7 additions and 3 deletions

View File

@ -1,6 +1,6 @@
GIT
remote: git://github.com/gregbell/active_admin.git
revision: efe5a86968c81fd12244e6c4b6957d93d0a4b7ee
revision: ac85139e308d26cc5706e0f431ea07553fff45d5
specs:
activeadmin (1.0.0.pre)
arbre (~> 1.0)

View File

@ -15,6 +15,8 @@ form#lug_search
padding-right: 2px
label
display: none
em.fa
color: #258
input
border: solid thin #258
margin-left: -1.5em

View File

@ -1,7 +1,8 @@
= search_form_for @search || Lug.search(params[:q]) do |f|
= f.label :name_or_city_or_department_or_related_region_name_or_url_cont
= f.label :search, t('.label')
%em.fa.fa-users
= f.search_field :name_or_city_or_department_or_related_region_name_or_url_cont, size: 13,
= f.search_field :name_or_city_or_department_or_related_region_name_or_url_cont,
id: :q_search, size: 13,
placeholder: t('.title', entity: Lug.model_name.human)
= f.button class: :search do
%em.fa.fa-search

View File

@ -290,6 +290,7 @@ Exemple: `%{daylimit}`"
lugs:
search:
title: Trouve ton %{entity}!
label: Recherche
devise:
sessions: