Sha256: 3266f7d35c12f79394db7cebcb4e9f796d81c4db0a41078e56bf8493f78df874

Contents?: true

Size: 997 Bytes

Versions: 2

Compression:

Stored size: 997 Bytes

Contents

%tr[booking_template]
  %td
    = link_to booking_template.title, [:new_booking, 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?
  %td.action-links
    = list_link_for(:edit, booking_template)
    = list_link_for(:delete, booking_template)

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
has_accounts_engine-3.0.0.beta15 app/views/booking_templates/_booking_template.html.haml
has_accounts_engine-3.0.0.beta14 app/views/booking_templates/_booking_template.html.haml