Sha256: 1e995990b96035efb94c63b74fc86fea2a00b8ca5b9dbc674fcf63d7d7ab5229

Contents?: true

Size: 838 Bytes

Versions: 5

Compression:

Stored size: 838 Bytes

Contents

= simple_form_for @booking_template do |f|
  .row-fluid
    .span6
      = f.input :title, :input_html => {"data-autofocus" => true}
    .span6
      = f.input :code
  .row-fluid
    .span6
      = f.association :debit_account, :as => :combobox, :collection => accounts_as_collection, :input_html => {:class => 'span6'}
    .span6
      = f.association :credit_account, :as => :combobox, :collection => accounts_as_collection, :input_html => {:class => 'span6'}
  .row-fluid
    .span6
      = f.input :amount
    .span6
      = f.input :amount_relates_to, :collection => amount_relations_as_collection
  .row-fluid
    .span12
      = f.input :tag_list, :input_html => {:class => 'select2-tags'}

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

  .form-actions
    = f.button :submit

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
has_accounts_engine-3.0.0.beta2 app/views/booking_templates/_form.html.haml
has_accounts_engine-3.0.0.beta1 app/views/booking_templates/_form.html.haml
has_accounts_engine-3.0.0.beta0 app/views/booking_templates/_form.html.haml
has_accounts_engine-2.0.1 app/views/booking_templates/_form.html.haml
has_accounts_engine-2.0.0 app/views/booking_templates/_form.html.haml