= form_for resource, :html => { :class => 'form-horizontal' } do |f|
  .control-group
    = f.label :name, :class => 'control-label'
    .controls
      = f.text_field :name, :class => 'text_field'

  .form-actions

    = f.submit nil, :class => 'btn btn-primary'

    = cancel_resource_path
= form_for [:settings, resource], :html => { :class => 'form-horizontal' } do |f|
  .control-group
    = f.label :name, :class => 'control-label'
    .controls
      = f.text_field :name, :class => 'text_field'

  .form-actions

    = f.submit nil, :class => 'btn btn-primary'

    = cancel_resource_path
Fix from submission path in groups settings
Fix from submission path in groups settings
