Sha256: fff1204d5ca8e3518d81f370f18043de48281e1212b9b755c7ee4940aafb573a
Contents?: true
Size: 691 Bytes
Versions: 2
Compression:
Stored size: 691 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 %> <%= admin_link_to action: :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 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.7 | app/views/trestle/resource/index.html.erb |
trestle-0.8.6 | app/views/trestle/resource/index.html.erb |