2014-07-27 16:42:40 +02:00
|
|
|
- # So we can use the search form from any page
|
|
|
|
- @search = Lug.search params[:q] unless @search
|
2014-07-27 01:50:22 +02:00
|
|
|
|
|
|
|
= search_form_for @search do |f|
|
2014-07-27 16:42:40 +02:00
|
|
|
= link_to lugs_path do
|
|
|
|
%h2
|
|
|
|
%em.fa.fa-users
|
|
|
|
= title t '.title', entity: Lug.model_name.human
|
|
|
|
|
2014-07-27 01:50:22 +02:00
|
|
|
= f.label :name_cont
|
2014-07-27 16:42:40 +02:00
|
|
|
= f.search_field :name_or_city_or_department_or_region_or_url_cont, size: 14
|
|
|
|
= f.button class: :search do
|
|
|
|
%em.fa.fa-search
|