2011-05-16 10:34:14 +02:00
|
|
|
- unless messages.empty?
|
2012-10-06 17:14:57 +02:00
|
|
|
%table.table.table-striped
|
2009-01-15 20:10:50 +01:00
|
|
|
%tbody
|
2011-05-16 10:34:14 +02:00
|
|
|
- for message in messages
|
2012-10-06 17:14:57 +02:00
|
|
|
%tr
|
2009-01-15 20:10:50 +01:00
|
|
|
%td= format_subject(message, subject_length)
|
2009-01-16 02:17:49 +01:00
|
|
|
%td= h(message.sender_name)
|
2009-01-15 20:10:50 +01:00
|
|
|
%td= format_time(message.created_at)
|
2012-10-06 17:14:57 +02:00
|
|
|
%td= link_to 'Antworten', new_message_path(:message => {:reply_to => message.id}), class: 'btn'
|