app/views/decidim/proposals/proposals/_vote_button.html.erb in decidim-proposals-0.20.1 vs app/views/decidim/proposals/proposals/_vote_button.html.erb in decidim-proposals-0.21.0

- old
+ new

@@ -2,10 +2,10 @@ <div></div> <% else %> <% if component_settings.participatory_texts_enabled? && from_proposals_list %> <%= render partial: "decidim/proposals/proposals/participatory_texts/proposal_vote_button", locals: { proposal: proposal, from_proposals_list: true } %> <% else %> - <div id="proposal-<%= proposal.id %>-vote-button"> + <div id="proposal-<%= proposal.id %>-vote-button" class="button--vote-button"> <% if !current_user %> <% if current_settings.votes_blocked? %> <%= action_authorized_button_to :vote, t("decidim.proposals.proposals.vote_button.votes_blocked"), proposal_proposal_vote_path(proposal_id: proposal, from_proposals_list: from_proposals_list), resource: proposal, class: "button #{vote_button_classes(from_proposals_list)} disabled", disabled: true %> <% else %> <%= action_authorized_button_to :vote, t("decidim.proposals.proposals.vote_button.vote"), proposal_proposal_vote_path(proposal_id: proposal, from_proposals_list: from_proposals_list), resource: proposal, class: "button #{vote_button_classes(from_proposals_list)}", data: { disable: true, "redirect-url": proposal_path(proposal) } %>