about summary refs log tree commit diff stats
path: root/app/views/records/index.html.haml
blob: 3850d723f91e28fcd121e949fcbfcb90e30d96d7 (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.%d.%y")
        %li.entry-type{ class: "entry-type-#{record.recordable.type.downcase}" }= record.recordable.type