Skip to content

Commit

Permalink
Adding height to div for recaptcha (#4672)
Browse files Browse the repository at this point in the history
  • Loading branch information
IshaGupta18 authored and SidharthBansal committed Jan 20, 2019
1 parent fa20f04 commit 7b74303
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/views/users/_create_form.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,9 @@
</div>

<% if Rails.env == "production" && !params[:spamaway] %>
<%= recaptcha_tags %>
<div style="height: 120px">
<%= recaptcha_tags %>
</div>
<p>If you cannot use the ReCaptcha to verify you are not a bot, <a href="/signup?spamaway=true">use this alternative verification</a>.</p>
<% else %>
<%= render partial: 'users/spamaway' %>
Expand Down

0 comments on commit 7b74303

Please sign in to comment.