first (mostly) working version of full elections.
[selectricity-live] / app / views / voter / index.rhtml
index 00b5136cea6381ae4438c778dd3be4abd246f68c..e92081d4991e47bea0e993563e04eae95dcd7aa4 100644 (file)
@@ -1,35 +1,11 @@
-<% %>
+<div id="title-header">
+  <span class="header">Voter Login</span>
+  <span class="subheader"></span>
+</div>
 
-<h1>Vote Below the Line</h1>
+<p>Please enter your password/token to log in and vote:</p>
 
-<p><strong>Election:</strong> <%= @voter.election.name %></p>
-
-<p><strong>Voter:</strong> <%= @voter.email %></p>
-
-<p><strong>Candidates:</strong></p>
-
-<ol>
-<% for candidate in @voter.election.candidates %>
-  <li><%= candidate.name %></li>
+<% form_tag(:action => 'login') do %>
+<%= text_field :vote, :password %>
+<%= submit_tag "Log In" %>
 <% end %>
-</ol>
-
-<p>If this information is incorrect, please notify the vote
-administrator immediatedly!</p>
-
-<hr />
-
-<h2>Place Your Vote Here</h2>
-
-<p>Rank each candidate in order of more preferred to least
-preferred. (e.g., 123 or 321 or 213, etc.)</p>
-
-<%= form_tag :action => 'review', :id => @voter.password %>
-<%= text_field :vote, :votestring -%>
-<%= submit_tag "Submit!" %>
-<%= end_form_tag %>
-
-
-
-
-

Benjamin Mako Hill || Want to submit a patch?