]> projects.mako.cc - selectricity/blob - app/views/quickvote/create.rhtml
Remove deprecated start_form_tag and end_form_tags. Now you're supposed to do form_ta...
[selectricity] / app / views / quickvote / create.rhtml
1 <% -%>
2 <h1>Create QuickVote</h1>
3
4 <%= error_messages_for 'quickvote' %>
5
6 <p><label for="quickvote_candidatelist">Choices</p>
7
8 <!-- the list of candidates -->
9 <div id="candlist">
10 <%= render :partial => 'candidate_list' %>
11 </div>
12
13 <% form_tag(:action => 'create') do %>
14 <!--[form:election]-->
15
16 <p><label for="quickvote_name">One Word Description (for URL)<br />
17
18 <em><font size="-1">required; 5-12 characters; only letters and numbers; no spaces</font></em></label><br/>
19
20 <%= text_field 'quickvote', 'name', :size => 15, :maxsize => 12  %></p>
21
22 <p><label for="quickvote_description">Description<em><br />
23 <font size="-1">required; one line summary on the first line</font></em></label><br/>
24
25 <%= text_area 'quickvote', 'description', :cols => 50, :rows => 4 %></p>
26
27 <%= submit_tag "Create Quickvote" -%>
28
29 <% end %>
30

Benjamin Mako Hill || Want to submit a patch?