= form_for @project, html: {class: 'form-horizontal'} do |f|

  - if @project.errors.any?
    #error_explanation
      %h3
        = pluralize(@project.errors.count, "error")
        prohibited this project from being saved
      %ul
        - @project.errors.full_messages.each do |msg|
          %li= msg

  .form-group
    = f.label :name, class: 'col-sm-2 control-label'
    .col-sm-10
      = f.text_field :name, class: 'form-control'

  .form-group
    = f.label :status, class: 'col-sm-2 control-label'
    .col-sm-10
      = f.text_field :status, class: 'form-control'

  .form-group
    .col-sm-offset-2.col-sm-10
      = f.submit 'Create', class: 'btn btn-primary'

= form_for @project, html: {class: 'form-horizontal'} do |f|

  - if @project.errors.any?
    #error_explanation
      %h3
        = pluralize(@project.errors.count, "error")
        prohibited this project from being saved
      %ul
        - @project.errors.full_messages.each do |msg|
          %li= msg

  .form-group
    = f.label :name, class: 'col-sm-2 control-label'
    .col-sm-10
      = f.text_field :name, class: 'form-control'

  .form-group
    = f.label :status, class: 'col-sm-2 control-label'
    .col-sm-10
      = f.text_field :status, class: 'form-control'

  .form-group
    .col-sm-offset-2.col-sm-10
      = f.submit class: 'btn btn-primary'

Fix project form submit label.
Fix project form submit label.
