app/assets/javascripts/ajax_forms.js.erb in alchemy-ajax-form-2.0.0 vs app/assets/javascripts/ajax_forms.js.erb in alchemy-ajax-form-2.1.0

- old
+ new

@@ -137,10 +137,10 @@ var container_div = $('<div class="invisible_recaptcha_container"></div>'); $(submit_button).before(container_div); var widget_id = grecaptcha.render(container_div[0], { 'sitekey': '<%= Recaptcha.configuration.site_key! %>', - 'badge': 'inline', + 'badge': '<%= Alchemy::Ajax::Form.recaptcha_badge %>', 'size': 'invisible', 'callback': function () { submit_function(form, method, action); } });