Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Add spacing between heading and captcha form in modal

Aaron Contreras40a65aea55f2
diff --git a/modules/recaptcha/app/views/recaptcha/request/perform.html.erb b/modules/recaptcha/app/views/recaptcha/request/perform.html.erb
index 600822d2a48..c9782f8808d 100644
--- a/modules/recaptcha/app/views/recaptcha/request/perform.html.erb
+++ b/modules/recaptcha/app/views/recaptcha/request/perform.html.erb
@@ -1,8 +1,8 @@
<% html_title t('recaptcha.label_recaptcha') %>
<% breadcrumb_paths(t('recaptcha.label_recaptcha')) %>
<div id="login-form" class="form -bordered">
+ <h2 class="mb-3"><%= t 'recaptcha.verify_account' %></h2>
<%= styled_form_tag({ action: :verify }, { :autocomplete => "off", :id => 'submit_captcha' }) do %>
- <h2><%= t 'recaptcha.verify_account' %></h2>
<% if [OpenProject::Recaptcha::TYPE_V2, OpenProject::Recaptcha::TYPE_HCAPTCHA].include?(recaptcha_settings['recaptcha_type']) %>
<% input_name = "g-recaptcha-response" %>
<input type="hidden" name="<%= input_name %>" />