Sha256: ab3ba5ba21b35c0ce244a8c3023d6ee0eb28f68b29bf6d59480a2a3472a3dc80

Contents?: true

Size: 1.3 KB

Versions: 7

Compression:

Stored size: 1.3 KB

Contents

<%= render("focus_header", header_title: t("decidim.elections.votes.header.confirmed")) %>

<div class="focus__content evote ballot_confirmed">
  <div class="row">
    <h1 class="heading2">
      <%= t("decidim.elections.votes.confirmed.header") %>
    </h1>

    <h2 class="h4"><%= t("decidim.elections.votes.confirmed.lead") %></h2>
    <div class="evote__content">
      <%= t("decidim.elections.votes.confirmed.text", e_vote_poll_id: params[:id]).html_safe %>
      <p>
        <%= t("decidim.elections.votes.confirmed.verify_link", link: election_vote_verify_path(election, vote_id: params[:id])).html_safe %>
      </p>
    </div>

    <% if params[:token] && valid_questionnaire? %>
      <div>
        <p class="text-small">
          <%= t("decidim.elections.votes.confirmed.experience") %>
        </p>
      </div>
      <div class="button">
        <%= link_to t("decidim.elections.votes.confirmed.feedback"), election_feedback_path(election, hash: params[:id], token: params[:token]) %>
      </div>
    <% end %>

    <% if !valid_questionnaire? && current_user.nil? %>
      <%= render partial: "decidim/elections/votes/onboarding_modal" %>
    <% end %>

    <%= link_to :elections, class: valid_questionnaire? ? "" : "button" do %>
      <%= t("decidim.elections.votes.confirmed.back") %>
    <% end %>
  </div>
</div>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
decidim-elections-0.25.2 app/views/decidim/elections/votes/_show_casted.html.erb
decidim-elections-0.25.1 app/views/decidim/elections/votes/_show_casted.html.erb
decidim-elections-0.25.0 app/views/decidim/elections/votes/_show_casted.html.erb
decidim-elections-0.25.0.rc4 app/views/decidim/elections/votes/_show_casted.html.erb
decidim-elections-0.25.0.rc3 app/views/decidim/elections/votes/_show_casted.html.erb
decidim-elections-0.25.0.rc2 app/views/decidim/elections/votes/_show_casted.html.erb
decidim-elections-0.25.0.rc1 app/views/decidim/elections/votes/_show_casted.html.erb