Sha256: c2fbe4e1b1a17aa8d19db3d89d519e984963cdcc807a0bff6a4b2d404afddf91
Contents?: true
Size: 668 Bytes
Versions: 4
Compression:
Stored size: 668 Bytes
Contents
%h1 Listing <%= plural_table_name %> %table %tr <% for attribute in attributes -%> %th <%= attribute.human_name %> <% end -%> %th %th %th - @<%= plural_table_name %>.each do |<%= singular_table_name %>| %tr <% for attribute in attributes -%> %td= <%= singular_table_name %>.<%= attribute.name %> <% end -%> %td= link_to 'Show', <%= resource_url_helper(model_name) %> %td= link_to 'Edit', edit_<%= resource_url_helper(model_name) %> %td= link_to 'Destroy', <%= resource_url_helper(model_name) %>, :confirm => 'Are you sure?', :method => :delete %br = link_to 'New <%= human_name %>', new_<%= resource_url_helper() %>
Version data entries
4 entries across 4 versions & 1 rubygems