Sha256: b522406ba79a98c05f81f74954f9c09528f683da6dde949d1255432d5108af89

Contents?: true

Size: 683 Bytes

Versions: 9

Compression:

Stored size: 683 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}

  .form-actions
    = f.button :submit

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
has_accounts_engine-3.0.0.beta7 app/views/bookings/_simple_form.html.haml
has_accounts_engine-3.0.0.beta6 app/views/bookings/_simple_form.html.haml
has_accounts_engine-3.0.0.beta5 app/views/bookings/_simple_form.html.haml
has_accounts_engine-3.0.0.beta4 app/views/bookings/_simple_form.html.haml
has_accounts_engine-3.0.0.beta3 app/views/bookings/_simple_form.html.haml
has_accounts_engine-3.0.0.beta2 app/views/bookings/_simple_form.html.haml
has_accounts_engine-3.0.0.beta1 app/views/bookings/_simple_form.html.haml
has_accounts_engine-3.0.0.beta0 app/views/bookings/_simple_form.html.haml
has_accounts_engine-2.0.1 app/views/bookings/_simple_form.html.haml