Sha256: 32d30e315bb6eaec5d231e958f7c2a5c634496b3451c5b653883df2045dfccef

Contents?: true

Size: 868 Bytes

Versions: 18

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 :debit_account, :collection => accounts_as_collection(Account.all), :as => :combobox, :style => 'width: 94%', :wrapper => :inline
    %td.span1= f.association :credit_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

18 entries across 18 versions & 1 rubygems

Version Path
has_accounts_engine-3.0.0.beta15 app/views/accounts/_edit_booking.html.haml
has_accounts_engine-3.0.0.beta14 app/views/accounts/_edit_booking.html.haml
has_accounts_engine-3.0.0.beta13 app/views/accounts/_edit_booking.html.haml
has_accounts_engine-3.0.0.beta12 app/views/accounts/_edit_booking.html.haml
has_accounts_engine-3.0.0.beta11 app/views/accounts/_edit_booking.html.haml
has_accounts_engine-3.0.0.beta10 app/views/accounts/_edit_booking.html.haml
has_accounts_engine-3.0.0.beta9 app/views/accounts/_edit_booking.html.haml
has_accounts_engine-3.0.0.beta8 app/views/accounts/_edit_booking.html.haml
has_accounts_engine-3.0.0.beta7 app/views/accounts/_edit_booking.html.haml
has_accounts_engine-3.0.0.beta6 app/views/accounts/_edit_booking.html.haml
has_accounts_engine-3.0.0.beta5 app/views/accounts/_edit_booking.html.haml
has_accounts_engine-3.0.0.beta4 app/views/accounts/_edit_booking.html.haml
has_accounts_engine-3.0.0.beta3 app/views/accounts/_edit_booking.html.haml
has_accounts_engine-3.0.0.beta2 app/views/accounts/_edit_booking.html.haml
has_accounts_engine-3.0.0.beta1 app/views/accounts/_edit_booking.html.haml
has_accounts_engine-3.0.0.beta0 app/views/accounts/_edit_booking.html.haml
has_accounts_engine-2.0.1 app/views/accounts/_edit_booking.html.haml
has_accounts_engine-2.0.0 app/views/accounts/_edit_booking.html.haml