% -%>
Create QuickVote
<%= error_messages_for 'quickvote' %>
<%= render :partial => 'candidate_list' %>
<% form_tag(:action => 'create') do %>
<%= text_field 'quickvote', 'name', :size => 15, :maxsize => 12 %>
<%= text_area 'quickvote', 'description', :cols => 50, :rows => 4 %>
<%= check_box('options', 'advanced',
:onclick => 'Element.toggle($("advanced")); false;' )%>Advanced
<%= render :partial => 'advanced', :locals => {:quickvote => @quickvote} %>
<%= submit_tag "Create Quickvote" -%>
<% end %>