Fixed broken tests and disabled ajax on registration for i18n capturing

This commit is contained in:
Godwin
2017-06-15 16:49:55 -07:00
parent e87f0402be
commit c5143ddb0e
2 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -133,7 +133,7 @@ module RegistrationHelper
content_tag(:div, actions.html_safe, class: :buttons).html_safe
end
form_tag(register_path(conference.slug), class: @no_ajax ? nil : 'js-xhr') do
form_tag(register_path(conference.slug), class: (LinguaFranca.recording? || @no_ajax ? nil : 'js-xhr')) do
content.html_safe +
(hidden_field_tag :step, step).html_safe +
actions.html_safe