Welcome to mirror list, hosted at ThFree Co, Russian Federation.

new.html.haml « abuse_reports « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: aaa85e81bd46698744a817b2bec7254ea0c2c12b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
- page_title _("Report abuse to admin")
%h1.page-title.gl-font-size-h-display
  = _("Report abuse to admin")
%p
  = _("Please use this form to report to the admin users who create spam issues, comments or behave inappropriately.")
%p
  = _("A member of the abuse team will review your report as soon as possible.")
%hr
= gitlab_ui_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.row
    .col-sm-2.col-form-label
      = f.label :user_id
    .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
    .col-sm-2.col-form-label
      = f.label :message
    .col-sm-10
      = f.text_area :message, class: "form-control", rows: 2, required: true, value: sanitize(@ref_url)
      .form-text.text-muted
        = _("Explain the problem. If appropriate, provide a link to the relevant issue or comment.")

  .form-actions
    = f.submit _("Send report"), pajamas_button: true