Sha256: 1ecebfc922d471108f7f936b67b6e6d3d9d042d3d2d3ac21c3a9e7a907eee261
Contents?: true
Size: 562 Bytes
Versions: 10
Compression:
Stored size: 562 Bytes
Contents
%h1.heading = "<%= plural_name.humanize %>" %p.actions = link_to 'New <%= singular_name.humanize %>', <%= new_path %> %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
10 entries across 10 versions & 4 rubygems