Sha256: 1c4c1a307c172718258183db705977f45cfc550334689db015a962cb806f1348

Contents?: true

Size: 936 Bytes

Versions: 1

Compression:

Stored size: 936 Bytes

Contents

= semantic_form_for @employment do |f|
  = f.semantic_errors
  = f.inputs do
    = f.input :employee, :as => :combobox
    = f.input :employer, :as => :combobox
    = f.input :duration_from, :as => :date_field
    = f.input :duration_to, :as => :date_field
    = f.input :temporary

  = f.inputs do
    = f.input :salary_amount, :input_html => {:style => 'width: 6em'}
    = f.input :workload, :input_html => {:style => 'width: 6em'}
    = f.input :daily_workload, :input_html => {:style => 'width: 6em'}
    = f.input :hourly_paid
    = f.input :overtime_premium, :input_html => {:style => 'width: 6em'}
    = f.input :holiday_premium, :input_html => {:style => 'width: 6em'}
    = f.input :sunday_premium, :input_html => {:style => 'width: 6em'}
    = f.input :night_premium, :input_html => {:style => 'width: 6em'}

  = f.inputs do
    = f.input :kids, :input_html => {:style => 'width: 6em'}

  = f.buttons do
    = f.commit_button

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bookyt-0.0.1 app/views/employments/_form.html.haml