diff options
Diffstat (limited to 'app/views/records')
-rw-r--r-- | app/views/records/index.html.haml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/app/views/records/index.html.haml b/app/views/records/index.html.haml new file mode 100644 index 0000000..29c9dfb --- /dev/null +++ b/app/views/records/index.html.haml | |||
@@ -0,0 +1,7 @@ | |||
1 | %ul#records | ||
2 | - @records.each do |record| | ||
3 | %li | ||
4 | %span.description= link_to record.description, record.recordable.path | ||
5 | %ul.tags | ||
6 | %li.record-date= record.created_at.strftime("%m.%e.%y") | ||
7 | %li.entry-type{ class: "entry-type-#{record.recordable.type.downcase}" }= record.recordable.type | ||