about summary refs log tree commit diff stats
path: root/app/views/records/index.html.haml
blob: 29c9dfb5c5901a0f34ccb6f8dca7bbf2d90b3c77 (plain) (blame)
1
2
3
4
5
6
7
%ul#records
  - @records.each do |record|
    %li
      %span.description= link_to record.description, record.recordable.path
      %ul.tags
        %li.record-date= record.created_at.strftime("%m.%e.%y")
        %li.entry-type{ class: "entry-type-#{record.recordable.type.downcase}" }= record.recordable.type