Sha256: 30c4bbf84717eb58fbbb6738597310d7d750df5d18f8ffc4d1bd14d273a1422c
Contents?: true
Size: 570 Bytes
Versions: 4
Compression:
Stored size: 570 Bytes
Contents
%h1.heading = "<%= plural_name.humanize %>" %p.actions = link_to 'New <%= singular_name.humanize %>', new_<%= singular_name %>_url %table %thead.header %tr <% attributes.each do |attribute| -%> %th.<%= attribute.name %>= '<%= attribute.name.humanize %>' <% end -%> %th.actions= 'Actions' %tbody.items.<%= plural_name %> - @<%= collection_name -%>.each do |<%= singular_name %>| = render 'item', :<%= singular_name %> => <%= singular_name %> <% if options[:pagination] -%> = will_paginate(@<%= collection_name %>) <% end -%>
Version data entries
4 entries across 4 versions & 1 rubygems