try the following to see if it fixes the style problem:
```
= bootstrap_form_for @user, style: :horizontal, left: "col-sm-2" , right: "col-sm-6" do |f|
```