X-Git-Url: https://projects.mako.cc/source/selectricity/blobdiff_plain/404bd293fe621a270748df828c67e507b350920b..34c44145a77003ac4fcabd0b865f039bc24f97f4:/app/views/quickvote/create.rhtml
diff --git a/app/views/quickvote/create.rhtml b/app/views/quickvote/create.rhtml
index b430495..7ccb644 100644
--- a/app/views/quickvote/create.rhtml
+++ b/app/views/quickvote/create.rhtml
@@ -3,28 +3,40 @@
<%= error_messages_for 'quickvote' %>
-
+
<%= render :partial => 'candidate_list' %>
-<%= form_tag :action => 'create' %>
+<% form_tag(:action => 'create') do %>
-
<%= 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_form_tag %>
+<% end %>
+
+
+
+