Sha256: 33c654cf4fdcf2de9e74b9ec4c9db4ba501bc341beefa90e26d7f3773a63f2c6
Contents?: true
Size: 445 Bytes
Versions: 4
Compression:
Stored size: 445 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', <%= singular_name %> | = link_to 'Edit', edit_<%= singular_name %>_url(<%= singular_name %>) | = link_to 'Destroy', <%= singular_name %>, :confirm => 'Are you sure?', :method => :delete
Version data entries
4 entries across 4 versions & 1 rubygems