Browse Source

Count unique attributes

pull/2791/head
Kat 7 months ago
parent
commit
4901ac9c4d
  1. 2
      app/helpers/form_page_error_helper.rb

2
app/helpers/form_page_error_helper.rb

@ -14,6 +14,6 @@ module FormPageErrorHelper
end end
def all_questions_affected_by_errors(log) def all_questions_affected_by_errors(log)
log.errors.map(&:attribute) - [:base] (log.errors.map(&:attribute) - [:base]).uniq
end end
end end

Loading…
Cancel
Save