Sha256: 2e72ba6c31a61695ca2bcc3a3fe538bdefcaa0ad29749e0d5486e515c65e64fc
Contents?: true
Size: 932 Bytes
Versions: 10
Compression:
Stored size: 932 Bytes
Contents
- booking = resource %tr[booking] = simple_fields_for booking, :wrapper => 'table' do |f| %td= f.input :value_date, :as => 'date_field', :label => false %td = f.input :title, :input_html => {'data-autofocus' => true} = f.input :comments, :rows => 2 %td= link_to booking.reference.to_s(:reference), booking.reference unless booking.reference.nil? %td= f.association :debit_account, :collection => accounts_as_collection(Account.all), :as => :combobox, :input_html => { :style => 'max-width: 14ex' } %td= f.association :credit_account, :collection => accounts_as_collection(Account.all), :as => :combobox, :input_html => { :style => 'max-width: 14ex' } %td= f.input :amount, :as => :string %td.action-links = list_link_for(:show, booking, :icon => 'remove', :method => :put, :remote => true, 'data-table-key' => '27') = link_to "#", 'data-table-key' => '13' do %i.icon-ok
Version data entries
10 entries across 10 versions & 1 rubygems