Sha256: 5065322a9bc552e7b8ced39bde1fbbd3d7798566891819ad96f2d76a280e7c64

Contents?: true

Size: 804 Bytes

Versions: 2

Compression:

Stored size: 804 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]) %>

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

2 entries across 2 versions & 1 rubygems

Version Path
easy_admin_ui-0.5.0 app/views/easy_admin_ui/index.html.erb
easy_admin_ui-0.4.0 templates/easy_admin_ui/index.html.erb