2 <h1>Create QuickVote</h1>
4 <%= error_messages_for 'quickvote' %>
7 <p>Please review the data you've entered and confirm. The candidates for
8 the election submitted include:</p>
11 <% for candidate in @quickvote.raw_candidates %>
12 <li><%= candidate %></li>
18 <%= form_tag :action => 'create' %>
19 <!--[form:election]-->
21 <p><label for="quickvote_name">Vote Name<br />
23 <em><font size="-1">Required; 5-12 characters; only letters and numbers; no spaces</font></em></label><br/>
25 <%= text_field 'quickvote', 'name' %></p>
27 <p><label for="quickvote_description">Description <em><font
28 size="-1">Optional</font></em></label><br/>
30 <%= text_area 'quickvote', 'description', :rows => 2 %></p>
32 <p><label for="quickvote_candidatelist">Choices/Candidates<em><br />
33 <font size="-1">Seperate choices with a ";". At least two are required.</font></em></label><br/>
35 <%= text_area 'quickvote', 'candidatelist', :rows => 3 %></p>
37 <p><% if @quickvote -%>
38 <%= submit_tag "Confirm" -%>
39 <%= hidden_field :quickvote, :reviewed, :value => 1 %>
41 <%= submit_tag "Create QuickVote" -%>