Skip to content

Commit

Permalink
Add spacing between heading and captcha form in modal
Browse files Browse the repository at this point in the history
  • Loading branch information
aaron-contreras authored and cbliard committed Oct 1, 2024
1 parent 9c82909 commit 40a65ae
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -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 %>" />
Expand Down

0 comments on commit 40a65ae

Please sign in to comment.