<%= render :partial => "/helpers/build_table_text_description", :locals => {:settings => settings} %>
<% if settings[:display_method]=="print_by_checkboxes" %>
<% end %> <% if settings[:display_method].blank? %>
<%= yield :table_form_tabs %>
<% if settings[:checkboxes] %> Vybraných řádků: "> <%= !settings[:params]["checkbox_pool"].blank? ? settings[:params]["checkbox_pool"].split(",").count : 0 %> <% end %> <% if settings[:display_method].blank? %> <% if settings[:checkboxes] %>   Tisknout výběr <% end %> <% end %>
<% end %> <%= form_tag settings[:filter_path], :html => {:'data-type' => 'html'}, :method => 'POST', :class => 'well dataGrid', :remote => true, :id => settings[:form_id] do |f| %> <% if settings[:display_method].blank? %> <% if content_for?(:table_form) %> <%= yield :table_form %> <% end %> <% end %>
<%= render :partial => "/helpers/build_table_filter", :locals => {:settings => settings} %> <% if settings[:display_method].blank? %> <% unless settings[:per_page].blank? %> Zobrazit na stránku: <%= select_tag("per_page_chosen", options_for_select(settings[:per_page], settings[:params]['per_page'].to_i), :onchange => "form_submit_watcher('#{settings[:form_id]}')", :class => "") %> <% end %>
<%= render :partial => 'helpers/build_table_pager', :locals => {:settings => settings, :placement => "placement-up"} %>
<% end %> <%= render :partial => "/helpers/build_table_wrapper", :locals => {:settings => settings} %> <% if settings[:display_method].blank? %>
<%= render :partial => 'helpers/build_table_pager', :locals => {:settings => settings, :placement => "placement-down"} %>
<% end %>
<% end %>