Sha256: b6ec9327f173f36ab5e7cecd19d4ea91215556c15bfa24fbe95a9ca1f2b1be3e
Contents?: true
Size: 1.27 KB
Versions: 31
Compression:
Stored size: 1.27 KB
Contents
<% if model.ongoing? && already_voted? %> <%= cell("decidim/announcement", callout_text) %> <% end %> <div> <% if model.ongoing? %> <% if vote_flow.login_path(new_election_vote_path) %> <%= link_to vote_flow.login_path(new_election_vote_path), class: "button button--sc" do %> <%= vote_action_button_text %> <% end %> <% else %> <%= action_authorized_link_to :vote, new_election_vote_path, resource: model, class: "button button--sc" do %> <%= vote_action_button_text %> <% end %> <% end %> <% elsif !model.finished? %> <span class="button button--sc disabled"><%= t("action_button.vote", scope: "decidim.elections.elections.show") %></span> <% end %> <% if preview_mode? && can_preview? %> <%= link_to new_election_vote_path, class: "button button--sc" do %> <%= t("preview", scope: "decidim.elections.elections.show") %> <% end %> <% end %> </div> <div class="text-sm"> <% if model.started? %> <%= t("verify.already_voted", scope: "decidim.elections.elections.show") %> <%= link_to t("verify.verify_here", scope: "decidim.elections.elections.show"), election_vote_verify_path %> <% else %> <span class="disabled"><%= t("verify.will_verify", scope: "decidim.elections.elections.show") %></span> <% end %> </div>
Version data entries
31 entries across 31 versions & 1 rubygems