foodsoft/app/views/messages/show.haml

21 lines
502 B
Text
Raw Normal View History

- title "Nachricht anzeigen"
2009-01-06 11:49:19 +01:00
%div{:style => "width:40em"}
%table{:style => "width:25em"}
%tr
%td Von:
%td=h @message.sender_name
%tr
%td Betreff:
%td
%b=h @message.subject
%tr
%td Gesendet:
%td= format_time(@message.created_at)
%hr/
%p= simple_format(h(@message.body))
%hr/
%p
= link_to 'Antworten', new_message_path(:message => {:reply_to => @message.id}), class: 'btn'
|
= link_to 'Nachricht im Überblick', messages_path