Sha256: e4cdddeb901e13dd10238de13447303dbd176d0843e3eebd268a27880835ce06

Contents?: true

Size: 829 Bytes

Versions: 4

Compression:

Stored size: 829 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[:render_index]) %>

<%= 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

4 entries across 4 versions & 1 rubygems

Version Path
easy_admin_ui-0.5.4 app/views/easy_admin_ui/index.html.erb
easy_admin_ui-0.5.3 app/views/easy_admin_ui/index.html.erb
easy_admin_ui-0.5.2 app/views/easy_admin_ui/index.html.erb
easy_admin_ui-0.5.1 app/views/easy_admin_ui/index.html.erb