Sha256: bd332b52846b34ed1c4d27309db242922a566f9e5c5ec3fd5d95320c4a49b521
Contents?: true
Size: 972 Bytes
Versions: 11
Compression:
Stored size: 972 Bytes
Contents
- item_action ||= lambda{|object| url_for(object)} %tr[booking_template] %td = link_to "%s" % [booking_template.title, booking_template.code], item_action.call(booking_template), 'data-href-container' => 'tr' - if booking_template.comments.present? %hr{:style => "height: 1px; margin: 0"}/ %i= booking_template.comments %td - booking_template.tags.each do |tag| = boot_label(tag) %td= link_to booking_template.debit_account.code, account_path(booking_template.debit_account), :title => booking_template.debit_account.title unless booking_template.debit_account.nil? %td= link_to booking_template.credit_account.code, account_path(booking_template.credit_account), :title => booking_template.credit_account.title unless booking_template.credit_account.nil? %td.currency= amount_to_s(booking_template) %td= t(booking_template.amount_relates_to, :scope => 'booking_template.relation') if booking_template.amount_relates_to.present?
Version data entries
11 entries across 11 versions & 1 rubygems