<% content_for :javascripts do %> <% end %>
<%= link_to "Refresh Table", "#", id: :refresh_datatable %>    <%= label_tag :auto_refresh, 'Auto Refresh:' %> <%= check_box_tag :auto_refresh, 1, false, id: :auto_refresh %>
<%= form_tag({ controller: params[:controller], action: params[:action], format: 'js' }, method: :get) do %> <%= label_tag :iDisplayLength, "Rows Per Page:", class: "label" %> <%= select_tag :iDisplayLength, options_for_select(::Naf.configuration.default_page_options, @rows_per_page), class: "page-select datatable_variable ui-state-default ui-corner-all" %> <% end %>