Sha256: d62b7474ec2cfe14bf5587421ac0363987e0402cafce389bb03592fd578b1de6

Contents?: true

Size: 868 Bytes

Versions: 12

Compression:

Stored size: 868 Bytes

Contents

%tr
  = f.fields_for "", edit_booking do |f|
    %td.span2= f.text_field :value_date, :style => 'width: 96%'
    %td.span6
      = f.text_field :title, :style => 'width: 98%'
      = f.text_field :comments, :style => 'width: 98%'
      = f.hidden_field :reference_type, :value => 'Invoice'
      = f.select :reference_id, suggested_invoices_for_booking(f.object), :include_blank => true, :style => 'width: 98%', :class => 'combobox'
    %td.span1= f.text_field :amount, :style => 'width: 94%'

    %td.span1= f.association :credit_account, :collection => accounts_as_collection(Account.all), :as => :combobox, :style => 'width: 94%', :wrapper => :inline
    %td.span1= f.association :debit_account, :collection => accounts_as_collection(Account.all), :as => :combobox, :style => 'width: 94%', :wrapper => :inline

    %td{:style => 'display:none'}= f.hidden_field :id

Version data entries

12 entries across 12 versions & 2 rubygems

Version Path
has_accounts_engine-1.1.2 app/views/accounts/_edit_booking.html.haml
has_accounts_engine-1.1.1 app/views/accounts/_edit_booking.html.haml
has_accounts_engine-1.1.0 app/views/accounts/_edit_booking.html.haml
has_accounts_engine-1.0.4 app/views/accounts/_edit_booking.html.haml
has_accounts_engine-1.0.3 app/views/accounts/_edit_booking.html.haml
has_accounts_engine-1.0.2 app/views/accounts/_edit_booking.html.haml
has_accounts_engine-1.0.1 app/views/accounts/_edit_booking.html.haml
has_accounts_engine-1.0.0 app/views/accounts/_edit_booking.html.haml
has_accounts-0.20.1 app/views/accounts/_edit_booking.html.haml
has_accounts-0.20.0 app/views/accounts/_edit_booking.html.haml
has_accounts-0.19.1 app/views/accounts/_edit_booking.html.haml
has_accounts-0.19.0 app/views/accounts/_edit_booking.html.haml