Sha256: 525d014980f39b26c84a2123f1a0f0f43bf83fb176e53dd136666b2444758817

Contents?: true

Size: 484 Bytes

Versions: 3

Compression:

Stored size: 484 Bytes

Contents

<%% content_for :body_content_left 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 %>, <%= singular_name %>_path(<%= singular_name %>) %>
      </li>
    <%% end %>
  </ul>
<%% end %>

<%%= render :partial => "/shared/content_page" %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
refinerycms-generators-1.0.4 lib/generators/refinery_engine/templates/app/views/plural_name/index.html.erb
refinerycms-generators-1.0.3 lib/generators/refinery_engine/templates/app/views/plural_name/index.html.erb
refinerycms-generators-1.0.2 lib/generators/refinery_engine/templates/app/views/plural_name/index.html.erb