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

15 lines
494 B
Plaintext
Raw Normal View History

2018-12-20 12:16:05 +01:00
= search_form_for Orga.ransack(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_tags_or_description_cont_any,
2018-12-20 12:16:05 +01:00
id: :q_ransack, size: 16,
placeholder: t('.title', entity: Orga.model_name.human),
title: t('.helper', 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'
= link_to page_path('filter'), title: t('.filter') do
 
%em.fa.fa-angle-double-right