Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Tatuya Kamada
gitlab-ce
Commits
c479dbae
Commit
c479dbae
authored
Dec 29, 2015
by
Robert Speicher
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add js-requires-input and js-quick-submit to abuse report form
parent
4ed36955
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
app/views/abuse_reports/new.html.haml
app/views/abuse_reports/new.html.haml
+2
-2
No files found.
app/views/abuse_reports/new.html.haml
View file @
c479dbae
...
...
@@ -2,7 +2,7 @@
%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'
}
do
|
f
|
=
form_for
@abuse_report
,
html:
{
class:
'form-horizontal
js-requires-input
'
}
do
|
f
|
=
f
.
hidden_field
:user_id
-
if
@abuse_report
.
errors
.
any?
.alert.alert-danger
...
...
@@ -16,7 +16,7 @@
.form-group
=
f
.
label
:message
,
class:
'control-label'
.col-sm-10
=
f
.
text_area
:message
,
class:
"form-control"
,
rows:
2
,
required:
true
=
f
.
text_area
:message
,
class:
"form-control
js-quick-submit
"
,
rows:
2
,
required:
true
.help-block
Explain the problem with this user. If appropriate, provide a link to the relevant issue or comment.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment