about summary refs log tree commit diff stats
path: root/app/views/records/_record.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/records/_record.html.haml')
-rw-r--r--app/views/records/_record.html.haml7
1 files changed, 7 insertions, 0 deletions
diff --git a/app/views/records/_record.html.haml b/app/views/records/_record.html.haml new file mode 100644 index 0000000..80a365c --- /dev/null +++ b/app/views/records/_record.html.haml
@@ -0,0 +1,7 @@
1%li
2 %span.description= link_to record.description, record.recordable.path
3 %ul.tags
4 %li.record-date= record.created_at.strftime("%m.%d.%y")
5 %li.entry-type{ class: "entry-type-#{record.recordable_type.downcase}" }= record.recordable_type
6 - record.recordable.taggable.tag_list.each do |tag|
7 %li.entry-tag= tag