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