]> projects.mako.cc - selectricity/blobdiff - app/views/site/create_quickvote.rhtml
working quickvote support created
[selectricity] / app / views / site / create_quickvote.rhtml
diff --git a/app/views/site/create_quickvote.rhtml b/app/views/site/create_quickvote.rhtml
deleted file mode 100644 (file)
index 78addaa..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-<% -%>
-<h1>Create QuickVote</h1>
-
-<%= error_messages_for 'quickvote' %>
-
-<% if @quickvote %>
-<p>Please review the data you've entered and confirm. The candidates for
-the election submitted include:</p>
-
-<ul>
-<% for candidate in @quickvote.raw_candidates %>
-  <li><%= candidate %></li>
-<% end %>
-</ul>
-
-<% end %>
-
-<%= form_tag :action => 'create_quickvote' %>
-<!--[form:election]-->
-
-<p><label for="quickvote_name">Vote Name<br />
-
-<em><font size="-1">Required; 5-12 characters; only letters and numbers; no spaces</font></em></label><br/>
-
-<%= text_field 'quickvote', 'name'  %></p>
-
-<p><label for="quickvote_description">Description <em><font
-size="-1">Optional</font></em></label><br/>
-
-<%= text_area 'quickvote', 'description', :rows => 2 %></p>
-
-<p><label for="quickvote_candidatelist">Choices/Candidates<em><br />
-<font size="-1">Seperate choices with a ";". At least two are required.</font></em></label><br/>
-
-<%= text_area 'quickvote', 'candidatelist', :rows => 3 %></p>
-
-<p><% if @quickvote -%>
-     <%= submit_tag "Confirm" -%>
-     <%= hidden_field :quickvote, :reviewed, :value => 1 %>
-   <% else %>
-     <%= submit_tag "Create QuickVote" -%>
-   <%- end -%>
-</p>
-
-<%= end_form_tag %>
-

Benjamin Mako Hill || Want to submit a patch?