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