Sha256: 07cac4bcd2117bd515be485ec756f11204107f754f67b53387f40951580468f0
Contents?: true
Size: 633 Bytes
Versions: 1
Compression:
Stored size: 633 Bytes
Contents
%h1 t("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 t('show'), <%= singular_name %> %td= link_to t('edit'), edit_<%= singular_name %>_path(<%= singular_name %>) %td= link_to t('destroy'), <%= singular_name %>, :confirm => t('sure destroy'), :method => :delete %p= link_to 't(new) <%= singular_name.humanize %>', new_<%= singular_name %>_path
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
shoulda_generator-1.3.2 | rails_generators/shoulda_scaffold/templates/haml/index.html.haml |