%h2= t_title

= semantic_form_for @salary, :url => new_salary_path, :method => :get do |f|
  = f.semantic_errors

  = f.inputs do
    = f.input :employee, :as => :combobox
    = f.input :duration_from, :discard_day => true, :start_year => Time.now.year - 2, :end_year => Time.now.year + 1, :include_blank => false

  = f.buttons do
    = f.commit_button

%h2= t_title

= semantic_form_for @salary, :url => new_salary_path, :method => :get do |f|
  = f.semantic_errors

  = f.inputs do
    .row
      .span8= f.input :employee, :as => :combobox
    .row
      .span8= f.input :duration_from, :as => :date_field

  = f.buttons do
    = f.commit_button

Use standard date_field for salary duration field.
Use standard date_field for salary duration field.
