diff options
author | Clement Ho <ClemMakesApps@gmail.com> | 2018-04-13 02:16:56 +0300 |
---|---|---|
committer | Clement Ho <ClemMakesApps@gmail.com> | 2018-04-13 02:16:56 +0300 |
commit | 4e54f5ae1b15ff61efb2f434afa6e15b1666a3cd (patch) | |
tree | 23be4902b84217978d15b3402d91f78a9825996a /app/views/abuse_reports | |
parent | 53bf57f3acf00436ee16f93cda433670c08a2275 (diff) |
[skip ci] add col-sm-* for form-horizontal changes to keep layout
Diffstat (limited to 'app/views/abuse_reports')
-rw-r--r-- | app/views/abuse_reports/new.html.haml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/abuse_reports/new.html.haml b/app/views/abuse_reports/new.html.haml index cfa38fb4262..278ad210543 100644 --- a/app/views/abuse_reports/new.html.haml +++ b/app/views/abuse_reports/new.html.haml @@ -7,12 +7,12 @@ = f.hidden_field :user_id .form-group.row - = f.label :user_id, class: 'col-form-label' + = f.label :user_id, class: 'col-sm-2 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.row - = f.label :message, class: 'col-form-label' + = f.label :message, class: 'col-sm-2 col-form-label' .col-sm-10 = f.text_area :message, class: "form-control", rows: 2, required: true, value: sanitize(@ref_url) .form-text.text-muted |