Sha256: 9b2c32563b4b05d7aff9ef0a9824e8ef839af8fc6111c429df8bf46291eeaa5c

Contents?: true

Size: 500 Bytes

Versions: 23

Compression:

Stored size: 500 Bytes

Contents

<%% content_for :body do %>
  <ul id="<%= plural_name %>">
    <%% @<%= "all_" if plural_name == singular_name%><%= plural_name %>.each do |<%= singular_name %>| %>
      <li>
        <%%= link_to <%= singular_name %><% if (title = attributes.detect { |a| a.type.to_s == "string" }).present? %>.<%= title.name %><% end %>, refinery.<%= namespacing.underscore %>_<%= singular_name %>_path(<%= singular_name %>) %>
      </li>
    <%% end %>
  </ul>
<%% end %>

<%%= render '/refinery/content_page' %>

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
refinerycms-core-4.0.3 lib/generators/refinery/engine/templates/app/views/refinery/namespace/plural_name/index.html.erb
refinerycms-core-4.0.2 lib/generators/refinery/engine/templates/app/views/refinery/namespace/plural_name/index.html.erb
refinerycms-core-4.0.1 lib/generators/refinery/engine/templates/app/views/refinery/namespace/plural_name/index.html.erb
refinerycms-core-3.0.6 lib/generators/refinery/engine/templates/app/views/refinery/namespace/plural_name/index.html.erb
refinerycms-core-4.0.0 lib/generators/refinery/engine/templates/app/views/refinery/namespace/plural_name/index.html.erb
refinerycms-core-3.0.5 lib/generators/refinery/engine/templates/app/views/refinery/namespace/plural_name/index.html.erb
refinerycms-core-3.0.4 lib/generators/refinery/engine/templates/app/views/refinery/namespace/plural_name/index.html.erb
refinerycms-core-3.0.3 lib/generators/refinery/engine/templates/app/views/refinery/namespace/plural_name/index.html.erb
refinerycms-core-3.0.2 lib/generators/refinery/engine/templates/app/views/refinery/namespace/plural_name/index.html.erb
refinerycms-core-3.0.1 lib/generators/refinery/engine/templates/app/views/refinery/namespace/plural_name/index.html.erb
refinerycms-core-3.0.0 lib/generators/refinery/engine/templates/app/views/refinery/namespace/plural_name/index.html.erb
refinerycms-core-2.1.5 lib/generators/refinery/engine/templates/app/views/refinery/namespace/plural_name/index.html.erb
refinerycms-core-2.1.4 lib/generators/refinery/engine/templates/app/views/refinery/namespace/plural_name/index.html.erb
refinerycms-core-2.1.3 lib/generators/refinery/engine/templates/app/views/refinery/namespace/plural_name/index.html.erb
refinerycms-core-2.1.2 lib/generators/refinery/engine/templates/app/views/refinery/namespace/plural_name/index.html.erb
refinerycms-core-2.1.1 lib/generators/refinery/engine/templates/app/views/refinery/namespace/plural_name/index.html.erb
refinerycms-core-2.1.0 lib/generators/refinery/engine/templates/app/views/refinery/namespace/plural_name/index.html.erb
refinerycms-core-2.0.10 lib/generators/refinery/engine/templates/app/views/refinery/namespace/plural_name/index.html.erb
refinerycms-core-2.0.9 lib/generators/refinery/engine/templates/app/views/refinery/namespace/plural_name/index.html.erb
refinerycms-core-2.0.8 lib/generators/refinery/engine/templates/app/views/refinery/namespace/plural_name/index.html.erb