X-Git-Url: https://projects.mako.cc/source/selectricity/blobdiff_plain/75091532075247ae9c47164ea883f4fe803eddf4..04f827dd4647f3a7d6e5bd8f5e9083c730a8dccc:/app/views/quickvote/create.rhtml diff --git a/app/views/quickvote/create.rhtml b/app/views/quickvote/create.rhtml new file mode 100644 index 0000000..7074218 --- /dev/null +++ b/app/views/quickvote/create.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' %> + + +


+ +<%= 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 %> +