Sha256: c21f408ca5256c934c46b7c4488729c1b6856506dcb2b9a81530b8e49aae0e70

Contents?: true

Size: 850 Bytes

Versions: 13

Compression:

Stored size: 850 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', 'span12']}

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

  .form-actions
    = f.button :submit

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
has_accounts_engine-3.0.0.beta15 app/views/booking_templates/_form.html.haml
has_accounts_engine-3.0.0.beta14 app/views/booking_templates/_form.html.haml
has_accounts_engine-3.0.0.beta13 app/views/booking_templates/_form.html.haml
has_accounts_engine-3.0.0.beta12 app/views/booking_templates/_form.html.haml
has_accounts_engine-3.0.0.beta11 app/views/booking_templates/_form.html.haml
has_accounts_engine-3.0.0.beta10 app/views/booking_templates/_form.html.haml
has_accounts_engine-3.0.0.beta9 app/views/booking_templates/_form.html.haml
has_accounts_engine-3.0.0.beta8 app/views/booking_templates/_form.html.haml
has_accounts_engine-3.0.0.beta7 app/views/booking_templates/_form.html.haml
has_accounts_engine-3.0.0.beta6 app/views/booking_templates/_form.html.haml
has_accounts_engine-3.0.0.beta5 app/views/booking_templates/_form.html.haml
has_accounts_engine-3.0.0.beta4 app/views/booking_templates/_form.html.haml
has_accounts_engine-3.0.0.beta3 app/views/booking_templates/_form.html.haml