about summary refs log tree commit diff stats
path: root/app/views/records/_record.html.haml
blob: 80a365c84c7600d8569e28ad29cee253ee278831 (plain) (blame)
1
2
3
4
5
6
7
%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
    - record.recordable.taggable.tag_list.each do |tag|
      %li.entry-tag= tag