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