Sha256: 303dd7e7e8af3c4176c6d7324b325716510e884f5836862e9bc399b80f49dd7d

Contents?: true

Size: 666 Bytes

Versions: 1

Compression:

Stored size: 666 Bytes

Contents

= simple_form_for @booking do |f|

  .row-fluid
    .span6
      = f.input :title, :input_html => {"data-autofocus" => true}
    .span6
      = f.input :value_date, :as => :date_field
  .row-fluid
    .span6
      = f.input :amount, :as => :string, :input_html => {:size => 12}
    .span6
      = f.input :code

  .row-fluid
    .span6
      = f.association :debit_account, :collection => accounts_as_collection(Account.all), :as => :combobox
    .span6
      = f.association :credit_account, :collection => accounts_as_collection(Account.all), :as => :combobox

  .row-fluid
    .span12
      = f.input :comments, :input_html => {:rows => 4}

  = f.button :submit

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
has_accounts_engine-2.0.0 app/views/bookings/_simple_form.html.haml