Sha256: 0e01f1d5d686663fda44201a6eabef104a958edb3e9c3c054bf334af4542b9c9
Contents?: true
Size: 952 Bytes
Versions: 9
Compression:
Stored size: 952 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 :credit_account, :collection => accounts_as_collection(Account.all), :as => :combobox .span6 = f.association :debit_account, :collection => accounts_as_collection(Account.all), :as => :combobox .row-fluid .span12 = f.input :comments, :input_html => {:rows => 4, :class => 'span12'} .row-fluid .span12 = f.input :reference_type, :as => :hidden, :input_html => {:value => 'Invoice'} //= f.association :reference, :collection => suggested_invoices_for_booking(@booking, :include_all => true), :as => :combobox, :include_blank => true = f.button :submit
Version data entries
9 entries across 9 versions & 2 rubygems