app/cells/decidim/proposals/proposal_m/footer.erb in decidim-proposals-0.15.2 vs app/cells/decidim/proposals/proposal_m/footer.erb in decidim-proposals-0.16.0
- old
+ new
@@ -12,10 +12,10 @@
subtitle_text: progress_bar_subtitle_text,
small: true
) %>
<% end %>
<%= render partial: "decidim/proposals/proposals/vote_button.html", locals: { proposal: model, from_proposals_list: true } %>
- <% else %>
+ <% elsif has_footer? %>
<div class="card__support__data"></div>
<%= link_to t("decidim.proposals.proposals.proposal.view_proposal"), resource_path, class: "card__button button--sc light button small secondary" %>
<% end %>
</div>
</div>