app/views/group_of_lines/index.html.erb
<%= title_tag t('group_of_lines.index.title') %>
<%= search_form_for @q, :url => referential_group_of_lines_path(@referential), remote: true, :html => {:method => :get, class: "form-inline", :id => "search", role: "form"} do |f| %>
<div class="panel panel-default">
<div class="panel-heading">
<div class="input-group col-md-12">
<%= f.text_field :name_cont, :placeholder => "#{t('.name')}", :class => "form-control" %>
<div class="input-group-btn">
<button class="btn btn-default" type="submit"><i class="fa fa-search"></i></button>
</div>
</div><!-- /input-group -->
<!-- <a data-toggle="collapse" data-parent="#search" href="#advanced_search"> -->
<!-- <i class="fa fa-plus"></i> <%= "#{t('.advanced_search')}" %> -->
<!-- </a> -->
</div>
</div>
<% end %>
<div id="group_of_lines"><%= render 'group_of_lines' %></div>
<% content_for :sidebar do %>
<ul class="actions">
<li><%= link_to t('group_of_lines.actions.new'), new_referential_group_of_line_path(@referential), :class => "add" %></li>
<br>
</ul>
<% end %>