sms-pager/app/views/pages/index.html.haml

26 lines
486 B
Plaintext
Raw Normal View History

2015-09-20 13:26:45 -05:00
%h1 Pages
- @pages.each do |page|
2015-09-21 20:40:07 -05:00
%ul.page_listing
%li
sent by:
%span= page.user.name unless page.user.nil?
%li
to:
%span= page.person.name
%li
phone:
%span= page.to
%li
message:
%span= page.message
%li
status:
%span= page.status
%li
sent at:
%span= page.created_at.strftime("%m/%d/%Y %I:%M %p")
%li
last modified at:
%span= page.updated_at.strftime("%m/%d/%Y %I:%M %p")