]> projects.mako.cc - selectricity/blobdiff - 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
index b4304953f1823e28f06e80b34b83cfe48b7ed45c..cf91e198a4e15183020a680bea65c51ed49f9241 100644 (file)
 <%= render :partial => 'candidate_list' %>
 </div>
 
-<%= form_tag :action => 'create' %>
+<% form_tag(:action => 'create') do %>
 <!--[form:election]-->
 
-<p><label for="quickvote_name">Super-short name (for URL)<br />
+<p><label for="quickvote_name">One Word Description (for URL)<br />
 
 <em><font size="-1">required; 5-12 characters; only letters and numbers; no spaces</font></em></label><br/>
 
 <%= text_field 'quickvote', 'name', :size => 15, :maxsize => 12  %></p>
 
 <p><label for="quickvote_description">Description<em><br />
-<font size="-1">optional; one line summary on the first line</font></em></label><br/>
+<font size="-1">required; one line summary on the first line</font></em></label><br/>
 
 <%= text_area 'quickvote', 'description', :cols => 50, :rows => 4 %></p>
 
 <%= submit_tag "Create Quickvote" -%>
 
-<%= end_form_tag %>
+<% end %>
 

Benjamin Mako Hill || Want to submit a patch?