Sha256: 68d9534e827c4eda29ddd020aec144dcda453d4424bcd9a722a796c142395d5f

Contents?: true

Size: 522 Bytes

Versions: 3

Compression:

Stored size: 522 Bytes

Contents

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

<% content_for(:primary_toolbar) do %>
  <%= link_to icon("fa fa-plus"), admin.path(:new), class: "btn btn-default btn-lg" 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

3 entries across 3 versions & 1 rubygems

Version Path
trestle-0.8.3 app/views/trestle/resource/index.html.erb
trestle-0.8.2 app/views/trestle/resource/index.html.erb
trestle-0.8.0 app/views/trestle/resource/index.html.erb