app/helpers/decidim/consultations/questions_helper.rb in decidim-consultations-0.23.6 vs app/helpers/decidim/consultations/questions_helper.rb in decidim-consultations-0.24.0.rc1

- old
+ new

@@ -5,10 +5,12 @@ # Helper for questions controller module QuestionsHelper # Returns a link to the next/previous question if found. # Else, returns a disabled link to the current question. def display_next_previous_button(direction, optional_classes = "") + # rubocop: disable Style/StringConcatenation as we don't want the string to be frozen css = "card__button button hollow " + optional_classes + # rubocop: enable Style/StringConcatenation # Do not show anything if is a lonely question return unless previous_published_question || next_published_question case direction