agenda-libre-ruby/app/views/orgas/_search.html.haml

10 lines
359 B
Plaintext
Raw Normal View History

2015-02-15 17:10:17 +01:00
= search_form_for @search || Orga.search(params[:q]) do |f|
= f.label :search, t('.label')
2014-08-07 00:58:11 +02:00
%em.fa.fa-users
= f.search_field :name_or_city_or_department_or_region_name_or_url_cont_any,
id: :q_search, size: 16,
2015-02-15 17:10:17 +01:00
placeholder: t('.title', entity: Orga.model_name.human)
2014-07-27 16:42:40 +02:00
= f.button class: :search do
%em.fa.fa-search
2015-02-15 17:10:17 +01:00
%span.label= t '.label'