Sha256: b104db8c412e1322040f6a0ee9401f179dd1e28a81d82b64ac9c8bc19a9d08fe
Contents?: true
Size: 1.04 KB
Versions: 5
Compression:
Stored size: 1.04 KB
Contents
<div class="reveal__header"> <h1 class="reveal__title"><%= t ".select_identity" %></h1> </div> <%= render partial: "decidim/initiatives/initiatives/vote_button", locals: { initiative: current_initiative, vote_label: current_user.name, unvote_label: current_user.name } unless current_initiative.offline? %> <% Decidim::UserGroups::ManageableUserGroups.for(current_user).verified.each do |g| %> <br /> <% if @voted_groups.include? g.id %> <%= button_to( g.name, initiative_initiative_vote_path(initiative_slug: current_initiative.slug, group_id: g.id), method: :delete, remote: true, data: { disable: true }, class: "card__button button expanded button--sc success" ) %> <% else %> <%= button_to( g.name, initiative_initiative_vote_path(initiative_slug: current_initiative.slug, group_id: g.id), remote: true, data: { disable: true }, class: "card__button button expanded button--sc" ) %> <% end %> <% end %>
Version data entries
5 entries across 5 versions & 1 rubygems