.row
  = simple_form_for([@project, @activity_line_item],
    :html => {:class => 'form-horizontal' },
    :wrapper => :horizontal_form,
    :wrapper_mappings => {:check_boxes => :horizontal_radio_and_checkboxes, :radio_buttons => :horizontal_radio_and_checkboxes, :file => :horizontal_file_input, :boolean => :horizontal_boolean}) do |f|
    .col-md-8.col-md-offset-2
      = dialog_tag('Project Details', {:icon => 'fa fa-book', :class => "form_part"}) do
        = f.input :name, :placeholder => "Enter a name..."
        = f.association :team_sub_category, :label => 'Sub Category'
            
    .col-md-8.col-md-offset-2
      = f.button :submit, :class => "btn btn-primary", :value => "Create Line Item"
      = submit_tag 'Cancel', :name => 'cancel', :class=>"btn btn-warning"

.row
  = simple_form_for([@project, @activity_line_item],
    :html => {:class => 'form-horizontal' },
    :wrapper => :horizontal_form,
    :wrapper_mappings => {:check_boxes => :horizontal_radio_and_checkboxes, :radio_buttons => :horizontal_radio_and_checkboxes, :file => :horizontal_file_input, :boolean => :horizontal_boolean}) do |f|
    .col-md-8.col-md-offset-2
      = dialog_tag('Project Details', {:icon => 'fa fa-book', :class => "form_part"}) do
        = f.input :name, :placeholder => "Enter a name..."
        = f.association :team_sub_category, :label => 'Sub Category'
            
    .col-md-8.col-md-offset-2
      - if @activity_line_item.new_record?
        = f.button :submit, :class => "btn btn-primary", :value => "Create Line Item"
      - else
        = f.button :submit, :class => "btn btn-primary", :value => "Update Line Item"
      = submit_tag 'Cancel', :name => 'cancel', :class=>"btn btn-warning"

Fix activity line items form
Fix activity line items form
