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