foodsoft/app/views/messages/_messages.html.haml

10 lines
365 B
Plaintext

- unless @messages.empty?
%table.list
%tbody
- for message in @messages
%tr{:class => cycle('even','odd', :name => 'messages')}
%td= format_subject(message, subject_length)
%td= h(message.sender_name)
%td= format_time(message.created_at)
%td= link_to('Antworten', reply_message_path(message))