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

9 lines
333 B
Plaintext
Raw Normal View History

= search_form_for @search || Lug.search(params[:q]) do |f|
2014-07-27 16:42:40 +02:00
= link_to lugs_path do
= f.label :name_cont
%em.fa.fa-users
= f.search_field :name_or_city_or_department_or_related_region_name_or_url_cont, size: 13,
placeholder: t('.title', entity: Lug.model_name.human)
2014-07-27 16:42:40 +02:00
= f.button class: :search do
%em.fa.fa-search