Sha256: 85c9dc257c4acff887c972adfa4ec97d43797a0aca7e6816f26d9922c4425cc9
Contents?: true
Size: 450 Bytes
Versions: 5
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_link(singular_name) %> | = link_to 'Edit', <%= edit_link(singular_name) %> | = link_to 'Destroy', <%= destroy_link(singular_name) %>, :confirm => 'Are you sure?', :method => :delete
Version data entries
5 entries across 5 versions & 1 rubygems