app/views/decidim/elections/votes/verify.html.erb in decidim-elections-0.24.3 vs app/views/decidim/elections/votes/verify.html.erb in decidim-elections-0.25.0.rc1

- old
+ new

@@ -1,9 +1,9 @@ -<div class="vote-verify-wrapper" +<div class="verify-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-api-endpoint-url="<%= bulletin_board_server %>" + data-election-unique-id="<%= election_unique_id %>"> <div class="focus__header"> <div class="row"> <div class="focus__steps"> <strong> @@ -50,19 +50,16 @@ <form class="form"> <label> <%= t("decidim.elections.votes.verify.form.vote_identifier") %> - <input type="text" class="vote-identifier" name="vote-identifier" data-value="qw12Sf35vVb556Hfvh7qw12Sf35vVb556Hfvh7"> + <input type="text" class="vote-identifier" name="vote-identifier" value="<%= params[:vote_id].gsub("_","") %>"> </label> <div> <%= link_to( "#", - class: "button focus__next confirm", - data: { - booth_mode: booth_mode - } + class: "button focus__next confirm" ) do %> <%= t("decidim.elections.votes.verify.form.submit") %> <% end %> </div> @@ -73,6 +70,6 @@ </div> </div> </div> -<%= javascript_include_tag "decidim/elections/vote_verify", integrity: true %> +<%= javascript_pack_tag "decidim_elections_voter_verify_vote", integrity: true %>