Some fixes of bugs during last commit.

This commit is contained in:
Benjamin Meichsner 2009-01-15 20:10:50 +01:00
parent e8d55e50c0
commit 7ff0467b16
6 changed files with 21 additions and 16 deletions

View file

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