Sha256: d4067e3ca1a986dfa73df56235402422ea2ee29174b9b4bad238e17ba2d31cbc

Contents?: true

Size: 1.55 KB

Versions: 6

Compression:

Stored size: 1.55 KB

Contents

<div class="vote-wrapper"
  data-election-id="<%= election.id %>"
  data-api-endpoint-url="<%= Rails.application.secrets.bulletin_board[:server] %>"
  data-election-unique-id="<%= @form.election_unique_id %>"
  data-voter-id="<%= @form.voter_id %>"
  data-cast-vote-url="<%= cast_election_vote_url(election) %>"
  data-update-vote-status-url="<%= election_vote_url(election) %>"
  data-booth-mode="<%= booth_mode %>">

  <% questions.each_with_index do |step_question, step_index| %>
    <div id="step-<%= step_index %>" class="focus__step <%= "hide" if step_index.positive? %>"
    data-toggler=".hide">
      <%= render(
        "election_votes_steps_header",
        step: step_index,
        questions_count: questions_count
        ) %>

      <div class="focus__content evote">
        <div class="row">
          <%= render(
            "election_votes_question",
            question: step_question
          ) %>
        </div>
      </div>

      <%= cell(
        "decidim/elections/voting_step_navigation",
        step_index,
        total_steps: questions_count
      ) %>

    </div>
  <% end %>

  <div id="step-<%= questions_count %>" class="hide focus__step" data-toggler=".hide">
    <%= render(
      "election_votes_confirm",
      questions: questions
    ) %>
  </div>

  <div id="encrypting" class="hide focus__step" data-toggler=".hide">
    <%= render("election_votes_encrypting") %>
  </div>

  <div id="confirmed_page" class="hide focus__step" data-redirect_url=".hide">
  </div>
</div>

<%= javascript_include_tag "decidim/elections/vote", integrity: true %>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
decidim-elections-0.24.3 app/views/decidim/elections/votes/new.html.erb
decidim-elections-0.24.2 app/views/decidim/elections/votes/new.html.erb
decidim-elections-0.24.1 app/views/decidim/elections/votes/new.html.erb
decidim-elections-0.24.0 app/views/decidim/elections/votes/new.html.erb
decidim-elections-0.24.0.rc2 app/views/decidim/elections/votes/new.html.erb
decidim-elections-0.24.0.rc1 app/views/decidim/elections/votes/new.html.erb