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

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/projects/issues/captcha_check.html.haml')
-rw-r--r--app/views/projects/issues/captcha_check.html.haml7
1 files changed, 7 insertions, 0 deletions
diff --git a/app/views/projects/issues/captcha_check.html.haml b/app/views/projects/issues/captcha_check.html.haml
new file mode 100644
index 00000000000..657c5c2cd8f
--- /dev/null
+++ b/app/views/projects/issues/captcha_check.html.haml
@@ -0,0 +1,7 @@
+= render layout: 'shared/captcha_check', locals: { spammable: @issue } do
+ -# These fields are for values which are passed via URL parameters, and not included in the
+ -# issue's params, so they must be yielded to the block to be rendered.
+ -# If these are removed and no longer passed via URL parameters, the support
+ -# for yielding in the layout can also be removed.
+ = hidden_field_tag(:merge_request_to_resolve_discussions_of, params[:merge_request_to_resolve_discussions_of])
+ = hidden_field_tag(:discussion_to_resolve, params[:discussion_to_resolve])