From feb25359fbb7628745ee38d12e352bc8204778db Mon Sep 17 00:00:00 2001 From: Luc Donnet Date: Thu, 7 Aug 2014 16:22:13 +0200 Subject: Refactor search index group_of_lines like time_tables Refs #0026834 --- app/views/group_of_lines/index.html.erb | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) (limited to 'app/views') diff --git a/app/views/group_of_lines/index.html.erb b/app/views/group_of_lines/index.html.erb index 25bf782a2..38010f82e 100644 --- a/app/views/group_of_lines/index.html.erb +++ b/app/views/group_of_lines/index.html.erb @@ -1,11 +1,19 @@ <%= title_tag t('group_of_lines.index.title') %> -<%= search_form_for @q, :url => referential_group_of_lines_path(@referential), :html => {:method => :get} do |f| %> - <%= f.label :name_cont, "#{t('.name')} :" %> - <%= f.text_field :name_cont %> - - <%= f.submit t('actions.search') %> <%= t("or") %> - <%= link_to t("cancel"), referential_group_of_lines_path(@referential) %> +<%= search_form_for @q, :url => referential_group_of_lines_path(@referential), :html => {:method => :get, class: "form-inline", :id => "search", role: "form"} do |f| %> +