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

10 lines
360 B
Plaintext

= search_form_for @search || Lug.search(params[:q]) do |f|
= f.label :search, t('.label')
%em.fa.fa-users
= 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
%span.label=t '.label'