Sha256: 8e38372a26532597706bc9e622cc926423c56cbb18ec41547bf6adb1ac9c840f
Contents?: true
Size: 434 Bytes
Versions: 10
Compression:
Stored size: 434 Bytes
Contents
<%% title "<%= plural_name.titleize %>" %> <%- first_attribute = attributes.first -%> <%%= will_paginate @<%= plural_name %> %> <%% @<%= plural_name %>.each do |<%= singular_name %>| %> <div class="item"> <h3><%%= link_to <%= singular_name %>.<%= first_attribute.name %>, view_<%= singular_name %>_path(<%= singular_name %>.<%= first_attribute.name %>) %></h3> </div> <%% end -%> <%%= will_paginate @<%= plural_name %> %>
Version data entries
10 entries across 10 versions & 1 rubygems