From ad80c40944743515a45d70014e8d5ffb88cd74fc Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Sun, 25 Jun 2017 00:00:28 -0400 Subject: Started designing index page --- app/views/records/index.html.haml | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 app/views/records/index.html.haml (limited to 'app/views/records/index.html.haml') 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 @@ +%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 -- cgit 1.4.1