X-Git-Url: https://projects.mako.cc/source/selectricity/blobdiff_plain/fd484b33a3920e0031007c5c2f1dec61913cbab5..d207da8dfc3f315f7758d1f5307c700ce4c25156:/app/views/site/create_quickvote.rhtml diff --git a/app/views/site/create_quickvote.rhtml b/app/views/site/create_quickvote.rhtml new file mode 100644 index 0000000..78addaa --- /dev/null +++ b/app/views/site/create_quickvote.rhtml @@ -0,0 +1,46 @@ +<% -%> +

Create QuickVote

+ +<%= error_messages_for 'quickvote' %> + +<% if @quickvote %> +

Please review the data you've entered and confirm. The candidates for +the election submitted include:

+ + + +<% end %> + +<%= form_tag :action => 'create_quickvote' %> + + +


+ +<%= text_field 'quickvote', 'name' %>

+ +


+ +<%= text_area 'quickvote', 'description', :rows => 2 %>

+ +


+ +<%= text_area 'quickvote', 'candidatelist', :rows => 3 %>

+ +

<% if @quickvote -%> + <%= submit_tag "Confirm" -%> + <%= hidden_field :quickvote, :reviewed, :value => 1 %> + <% else %> + <%= submit_tag "Create QuickVote" -%> + <%- end -%> +

+ +<%= end_form_tag %> +