Sha256: 0a4ac4d10520c76c8eded825c1dd64130a3a6a6f2e1557b6aa97d7cca1f8c464

Contents?: true

Size: 565 Bytes

Versions: 2

Compression:

Stored size: 565 Bytes

Contents

<% content_for(:title, admin.t("titles.index", default: "Listing %{pluralized_model_name}")) %>

<% content_for(:primary_toolbar) do %>
  <%= admin_link_to action: :new, class: "btn btn-default btn-lg" do %>
    <%= icon("fa fa-plus") %>
    <span class="sr-only"><%= admin.t("buttons.new", default: "New %{model_name}") %></span>
  <% end if admin.actions.include?(:new) %>
<% end %>

<% content_for(:utilities) do %>
  <%= render "scopes" if admin.scopes.any? %>
<% end if admin.scopes.any? %>

<%= render layout: "layout" do %>
  <%= render "table" %>
<% end %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
trestle-0.8.9 app/views/trestle/resource/index.html.erb
trestle-0.8.8 app/views/trestle/resource/index.html.erb