diff --git a/app/views/guests/new.html.erb b/app/views/guests/new.html.erb index 0096ec7..24d114f 100644 --- a/app/views/guests/new.html.erb +++ b/app/views/guests/new.html.erb @@ -21,7 +21,11 @@
+ <%- if ENV['RECAPTCHA_SECRET_KEY'].blank? -%> + <%= form.submit 'Continue', class: 'btn btn-primary', data: { disable_with: 'Sending...' } %> + <%- else -%> <%= invisible_recaptcha_tags text: 'Continue', class: 'btn btn-primary', data: { disable_with: 'Sending...' } %> + <%- end -%>
<% end %>