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

10 lines
No EOL
365 B
Text

- 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))