diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2017-06-25 00:00:28 -0400 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2017-06-25 00:00:28 -0400 |
commit | ad80c40944743515a45d70014e8d5ffb88cd74fc (patch) | |
tree | 0e97b3d46f3ed3594a1e4074e4a5a06deefcd76d /app/views/records | |
parent | 5581530930129d7854ed5d99d058939ad9c790c2 (diff) | |
download | thoughts-ad80c40944743515a45d70014e8d5ffb88cd74fc.tar.gz thoughts-ad80c40944743515a45d70014e8d5ffb88cd74fc.tar.bz2 thoughts-ad80c40944743515a45d70014e8d5ffb88cd74fc.zip |
Started designing index page
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 | ||