Skip to content

Commit d68250e

Browse files
committed
Added Google's Recaptcha to the Sign-up Form view
1 parent 23a5aa7 commit d68250e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/views/devise/registrations/new.html.erb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@
2525
<label class="form-label">Confirm Password</label>
2626
<%= f.password_field :password_confirmation, placeholder: "Confirm Password", autocomplete: "off", class: "form-control" %>
2727
</div>
28+
<%= flash[:recaptcha_error] %>
29+
<%= recaptcha_tags %>
2830
<div class="form-footer">
2931
<button type="submit" class="btn btn-primary btn-block">Create new account</button>
3032
</div>

0 commit comments

Comments
 (0)