Sha256: 16cb76fab2d8dedfd8b4e3613b524ed03a8b1f6abe2f5abd90005080ab709d93
Contents?: true
Size: 836 Bytes
Versions: 1
Compression:
Stored size: 836 Bytes
Contents
%h2 Listing <%= controller_plural_name.humanize %> %table %tr <% for attribute in attributes -%> %th <%= attribute.column.human_name %> <% end -%> - for <%= controller_singular_name %> in @<%= controller_plural_name %> %tr <% for attribute in attributes -%> %td= h <%= controller_singular_name %>.<%= attribute.name %> <% end -%> %td.tools %ul %li= link_to('show', <%= controller_member_path %>_path(<%= controller_singular_name %>)) %li= link_to('edit', edit_<%= controller_member_path %>_path(<%= controller_singular_name %>)) %li= link_to('remove', <%= controller_member_path %>_path(<%= controller_singular_name %>), :method => :delete, :confirm => 'Are you sure?') %p= link_to 'New <%= controller_singular_name.humanize %>', new_<%= controller_member_path %>_path()
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
sob-shoulda_generator-0.2.1 | rails_generators/shoulda_scaffold/templates/haml/index.html.haml |