Sha256: eecc09e8d0903a2f98f348ee7deb80b7f39821ffc2b2c8c7a97c4196a21ced92

Contents?: true

Size: 838 Bytes

Versions: 3

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 :credit_account, :as => :combobox, :collection => accounts_as_collection, :input_html => {:class => 'span6'}
    .span6
      = f.association :debit_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

3 entries across 3 versions & 1 rubygems

Version Path
has_accounts_engine-1.1.2 app/views/booking_templates/_form.html.haml
has_accounts_engine-1.1.1 app/views/booking_templates/_form.html.haml
has_accounts_engine-1.1.0 app/views/booking_templates/_form.html.haml