Sha256: 326fa84b52efc5f2954bafc2c8ddd40442f6bfaef28b53caafd6ddb7c88c66ab
Contents?: true
Size: 647 Bytes
Versions: 1
Compression:
Stored size: 647 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.4 | rails_generators/shoulda_scaffold/templates/haml/index.html.haml |