Organisation search extended to include description. Refs #42

This commit is contained in:
echarp 2016-01-08 11:29:50 +01:00
parent 4ee87241df
commit 604a8d375e

View File

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