Sha256: 20faed1329c833e5e7e8f6bc43157b90172207d11991cb2f86608e830269bb3f

Contents?: true

Size: 814 Bytes

Versions: 7

Compression:

Stored size: 814 Bytes

Contents

<h1><%= @options[:page_title] %> <%= admin_new_link unless @options[:skip_new] %></h1>

<% if File.exists?(File.join(controller_full_path, '_index_after_title.html.erb')) -%>
  <%= render :partial => 'index_after_title' %>
<% elsif File.exists?(File.join(controller_full_path, '_after_title.html.erb')) -%>
  <%= render :partial => 'after_title' %>
<% end -%>

<%= paginate @items if @items.respond_to?(:per) %>

<%= table(@items, @options[:columns], @options[:show_actions], @options) %>

<%= paginate @items if @items.respond_to?(:per) %>

<% if File.exists?(File.join(controller_full_path, '_index_after_table.html.erb')) -%>
  <%= render :partial => 'index_after_table' %>
<% elsif File.exists?(File.join(controller_full_path, '_after_table.html.erb')) -%>
  <%= render :partial => 'after_table' %>
<% end -%>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
easy_admin_ui-0.5.12 app/views/easy_admin_ui/index.html.erb
easy_admin_ui-0.5.11 app/views/easy_admin_ui/index.html.erb
easy_admin_ui-0.5.9 app/views/easy_admin_ui/index.html.erb
easy_admin_ui-0.5.8 app/views/easy_admin_ui/index.html.erb
easy_admin_ui-0.5.7 app/views/easy_admin_ui/index.html.erb
easy_admin_ui-0.5.6 app/views/easy_admin_ui/index.html.erb
easy_admin_ui-0.5.5 app/views/easy_admin_ui/index.html.erb