Sha256: 0b521ca81ec1f4e1650281e32d9213540d923bccbd2835f28015ed1e73245d3b

Contents?: true

Size: 680 Bytes

Versions: 1

Compression:

Stored size: 680 Bytes

Contents

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

<% content_for(:primary_toolbar) do %>
  <%= link_to admin.path(:new), class: "btn btn-default btn-lg" do %>
    <%= icon("fa fa-plus") %>
    <span class="sr-only"><%= t("admin.buttons.new", default: "New %{model_name}", model_name: admin.model_name) %></span>
  <% end unless admin.readonly? %>
<% 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

1 entries across 1 versions & 1 rubygems

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