summaryrefslogtreecommitdiff
path: root/app/views/admin/users/_form.html.haml
diff options
context:
space:
mode:
authorClement Ho <ClemMakesApps@gmail.com>2018-04-12 15:11:22 -0500
committerClement Ho <ClemMakesApps@gmail.com>2018-04-12 15:11:22 -0500
commitc552328617202bd1225abd3e84fc7f4a4b79e4fa (patch)
tree93b5f95af70561784bb29bd6f7dbd1ef12e69b29 /app/views/admin/users/_form.html.haml
parent705d7f703b10f5e1a066d0623bf32d07868d6668 (diff)
downloadgitlab-ce-c552328617202bd1225abd3e84fc7f4a4b79e4fa.tar.gz
[skip ci] .form-horizontal => .form-group.row
Diffstat (limited to 'app/views/admin/users/_form.html.haml')
-rw-r--r--app/views/admin/users/_form.html.haml24
1 files changed, 12 insertions, 12 deletions
diff --git a/app/views/admin/users/_form.html.haml b/app/views/admin/users/_form.html.haml
index 1c8781b79fd..6daccc359e1 100644
--- a/app/views/admin/users/_form.html.haml
+++ b/app/views/admin/users/_form.html.haml
@@ -1,20 +1,20 @@
.user_new
- = form_for [:admin, @user], html: { class: 'form-horizontal fieldset-form' } do |f|
+ = form_for [:admin, @user], html: { class: 'fieldset-form' } do |f|
= form_errors(@user)
%fieldset
%legend Account
- .form-group
+ .form-group.row
= f.label :name, class: 'col-form-label'
.col-sm-10
= f.text_field :name, required: true, autocomplete: 'off', class: 'form-control'
%span.help-inline * required
- .form-group
+ .form-group.row
= f.label :username, class: 'col-form-label'
.col-sm-10
= f.text_field :username, required: true, autocomplete: 'off', autocorrect: 'off', autocapitalize: 'off', spellcheck: false, class: 'form-control'
%span.help-inline * required
- .form-group
+ .form-group.row
= f.label :email, class: 'col-form-label'
.col-sm-10
= f.text_field :email, required: true, autocomplete: 'off', class: 'form-control'
@@ -23,7 +23,7 @@
- if @user.new_record?
%fieldset
%legend Password
- .form-group
+ .form-group.row
= f.label :password, class: 'col-form-label'
.col-sm-10
%strong
@@ -33,10 +33,10 @@
- else
%fieldset
%legend Password
- .form-group
+ .form-group.row
= f.label :password, class: 'col-form-label'
.col-sm-10= f.password_field :password, disabled: f.object.force_random_password, class: 'form-control'
- .form-group
+ .form-group.row
= f.label :password_confirmation, class: 'col-form-label'
.col-sm-10= f.password_field :password_confirmation, disabled: f.object.force_random_password, class: 'form-control'
@@ -44,21 +44,21 @@
%fieldset
%legend Profile
- .form-group
+ .form-group.row
= f.label :avatar, class: 'col-form-label'
.col-sm-10
= f.file_field :avatar
- .form-group
+ .form-group.row
= f.label :skype, class: 'col-form-label'
.col-sm-10= f.text_field :skype, class: 'form-control'
- .form-group
+ .form-group.row
= f.label :linkedin, class: 'col-form-label'
.col-sm-10= f.text_field :linkedin, class: 'form-control'
- .form-group
+ .form-group.row
= f.label :twitter, class: 'col-form-label'
.col-sm-10= f.text_field :twitter, class: 'form-control'
- .form-group
+ .form-group.row
= f.label :website_url, 'Website', class: 'col-form-label'
.col-sm-10= f.text_field :website_url, class: 'form-control'