• Chad Woolley's avatar
    Clean up CAPTCHA view logic · b5bcb8c8
    Chad Woolley authored
    - Fixes bug related to `merge_request_to_resolve_discussions_of` which
      was introduced when the `yield` was removed from the view.
    - Combines existing separate layouts into a single view (this was the
      source of the above bug). The layout hardcoded the name of the
      separate view, and was never reused, so it served no useful purpose
      as a layout anyway.
    - Removes unused `has_submit` flag
    - Renames views to be consistent "`captcha_check`" terminology used in
      controller and helper methods
    - Reorganizes and adds comments to views
    - See https://gitlab.com/gitlab-org/gitlab/-/merge_requests/67195
    b5bcb8c8
captcha_check.html.haml 564 Bytes