Sha256: 05c9acd441e14f162d8189e83b120585c4124b86eaa96afc4672b15eb59f73da

Contents?: true

Size: 372 Bytes

Versions: 2

Compression:

Stored size: 372 Bytes

Contents

<!-- replace 'erb[silent]:contains("if consultation.questions.any?")' -->

<%
show_questions = if Decidim::ActionDelegator.remove_duplicated_highlighted_questions
                   consultation.questions.count > consultation.highlighted_questions.count
                 else
                    consultation.questions.any?
                 end
%>
<% if show_questions %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
decidim-action_delegator-0.8.1 app/overrides/decidim/consultations/consultations/_regular_questions/prevent_empty_questions.html.erb.deface
decidim-action_delegator-0.7.2 app/overrides/decidim/consultations/consultations/_regular_questions/prevent_empty_questions.html.erb.deface