Sha256: da16b29b20b5edbd359c43b249e0dda39c727abb3823cb429aee539be68495e1
Contents?: true
Size: 588 Bytes
Versions: 9
Compression:
Stored size: 588 Bytes
Contents
%h2 Listing <%= plural_name.humanize %> %table %tr <% for attribute in attributes -%> %th <%= attribute.column.human_name %> <% end -%> - for <%= singular_name %> in @<%= plural_name %> %tr <% for attribute in attributes -%> %td= h <%= singular_name %>.<%= attribute.name %> <% end %> %td= link_to 'Show', <%= singular_name %> %td= link_to 'Edit', [:edit, <%= singular_name %>] %td= link_to 'Destroy', <%= singular_name %>, :method => :delete, :confirm => 'Are you sure?' = link_to 'New <%= singular_name.humanize %>', new_<%= singular_name %>_path
Version data entries
9 entries across 9 versions & 3 rubygems