summaryrefslogtreecommitdiff
path: root/app/views/abuse_reports/new.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/abuse_reports/new.html.haml
parent705d7f703b10f5e1a066d0623bf32d07868d6668 (diff)
downloadgitlab-ce-c552328617202bd1225abd3e84fc7f4a4b79e4fa.tar.gz
[skip ci] .form-horizontal => .form-group.row
Diffstat (limited to 'app/views/abuse_reports/new.html.haml')
-rw-r--r--app/views/abuse_reports/new.html.haml6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/views/abuse_reports/new.html.haml b/app/views/abuse_reports/new.html.haml
index 9734001500f..cfa38fb4262 100644
--- a/app/views/abuse_reports/new.html.haml
+++ b/app/views/abuse_reports/new.html.haml
@@ -2,16 +2,16 @@
%h3.page-title Report abuse
%p Please use this form to report users who create spam issues, comments or behave inappropriately.
%hr
-= form_for @abuse_report, html: { class: 'form-horizontal js-quick-submit js-requires-input'} do |f|
+= form_for @abuse_report, html: { class: 'js-quick-submit js-requires-input'} do |f|
= form_errors(@abuse_report)
= f.hidden_field :user_id
- .form-group
+ .form-group.row
= f.label :user_id, class: 'col-form-label'
.col-sm-10
- name = "#{@abuse_report.user.name} (@#{@abuse_report.user.username})"
= text_field_tag :user_name, name, class: "form-control", readonly: true
- .form-group
+ .form-group.row
= f.label :message, class: 'col-form-label'
.col-sm-10
= f.text_area :message, class: "form-control", rows: 2, required: true, value: sanitize(@ref_url)