Sha256: 90a22df87645ddf0ac58eef579e265fa078ceef237915e34838b25a9d00b7dba
Contents?: true
Size: 851 Bytes
Versions: 46
Compression:
Stored size: 851 Bytes
Contents
<% if @auto_pagination -%> <% if @page.items.present? -%> ActiveScaffold.append('<%= active_scaffold_tbody_id %>', '<%= escape_javascript(render(:partial => 'list_record', :collection => @page.items, :locals => {:hidden => false, :columns => list_columns, :action_links => active_scaffold_config.action_links.member})) %>'); <% if @page.pager.infinite? || @page.number < @page.pager.number_of_pages -%> ActiveScaffold.auto_load_page('<%= url_for main_path_to_return %>', {auto_pagination: true, page: <%= @page.number + 1 %>}); <% end %> <% end %> <% elsif active_scaffold_config.list.refresh_with_header -%> ActiveScaffold.replace('<%= active_scaffold_id %>', '<%= escape_javascript(render('list_with_header')) %>'); <% else -%> ActiveScaffold.replace_html('<%= active_scaffold_content_id %>', '<%= escape_javascript(render('list')) %>'); <% end -%>
Version data entries
46 entries across 46 versions & 1 rubygems