= semantic_form_for @project do |f|
  = f.semantic_errors
  = f.inputs do
    = f.input :name, :input_html => {'data-autofocus' => 'true'}
    = f.input :comment, :input_html => {:rows => 5}
    = f.input :duration_from, :as => :date_field
    = f.input :duration_to, :as => :date_field
    = f.input :project_state
    = f.input :client, :as => :combobox
  = f.buttons do
    = f.commit_button

= semantic_form_for @project do |f|
  = f.semantic_errors
  = f.inputs do
    .row
      .span8
        = f.input :name, :input_html => {'data-autofocus' => 'true'}
        = f.input :duration_from, :as => :date_field
        = f.input :client, :as => :combobox
      .span8
        = f.input :project_state
        = f.input :duration_to, :as => :date_field
    .row
      .span16
        = f.input :comment, :input_html => {:rows => 5, :class => 'span12'}

  = f.buttons do
    = f.commit_button

Use two column layout for project form.
Use two column layout for project form.
