- item_action ||= lambda{|object| url_for(object)}

%tr[booking.id]
  %td= booking.value_date
  %td
    = link_to booking.title, item_action.call(booking)
    - if booking.comments.present?
      %hr{:style => "height: 1px; margin: 0"}/
      %i= booking.comments
  %td= link_to booking.reference, booking.reference unless booking.reference.nil?
  %td= link_to booking.credit_account.code, account_path(booking.credit_account), :title => booking.credit_account.title unless booking.credit_account.nil?
  %td= link_to booking.debit_account.code, account_path(booking.debit_account), :title => booking.debit_account.title unless booking.debit_account.nil?
  %td.currency= currency_fmt(booking.amount)
  %td.action-links
    = icon_edit_link_to edit_booking_path(booking)
    = icon_delete_link_to booking, booking_path(booking)
    =# link_to image_tag('16x16/copy.png', :title => 'Copy'), copy_booking_path(booking), :remote => true

- item_action ||= lambda{|object| url_for(object)}

%tr[booking]
  %td= booking.value_date
  %td
    = link_to booking.title, item_action.call(booking)
    - if booking.comments.present?
      %hr{:style => "height: 1px; margin: 0"}/
      %i= booking.comments
  %td= link_to booking.reference, booking.reference unless booking.reference.nil?
  %td= link_to booking.credit_account.code, account_path(booking.credit_account), :title => booking.credit_account.title unless booking.credit_account.nil?
  %td= link_to booking.debit_account.code, account_path(booking.debit_account), :title => booking.debit_account.title unless booking.debit_account.nil?
  %td.currency= currency_fmt(booking.amount)
  %td.action-links
    = icon_edit_link_to edit_booking_path(booking)
    = icon_delete_link_to booking, booking_path(booking)
    =# link_to image_tag('16x16/copy.png', :title => 'Copy'), copy_booking_path(booking), :remote => true

Fix class/id setting in bookings list item.
Fix class/id setting in bookings list item.
