Sha256: 128a0374fcd4c182f3c06206604ae5653f3c0282e140cb957b70922a4cbf3cbf
Contents?: true
Size: 538 Bytes
Versions: 1
Compression:
Stored size: 538 Bytes
Contents
- @attributes ||= collection.first.attribute_names - ['id', 'created_at', 'updated_at'] %table.list{:class => "#{collection.first.class.to_s.downcase.pluralize} collection"} %thead %tr - @attributes.each do |field| %th= t_attr field, collection.first.class %th.action-links %tbody - collection.each do |r| %tr - @attributes.each do |field| %td= r.send(field) if r.respond_to?(field) %td.action-links = list_link_for(:edit, r) = list_link_for(:delete, r)
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
bookyt-0.0.1 | app/views/application/_list.html.haml |