Sha256: 9c8e6ccec015f67c103603e822bd674001260edad9da88e4843d3ca0d3dbfd79
Contents?: true
Size: 450 Bytes
Versions: 13
Compression:
Stored size: 450 Bytes
Contents
- content_tag_for(:tr, <%= singular_name -%>, :class => cycle(:odd, :even)) do <% attributes.each do |attribute| -%> %td.<%= attribute.name %>= h <%= singular_name %>.try(:<%= attribute.name %>) <% end -%> %td.actions = link_to 'Show', <%= show_path(singular_name) %> | = link_to 'Edit', <%= edit_path(singular_name) %> | = link_to 'Destroy', <%= destroy_path(singular_name) %>, :confirm => 'Are you sure?', :method => :delete
Version data entries
13 entries across 13 versions & 6 rubygems