X-Git-Url: https://projects.mako.cc/source/selectricity-live/blobdiff_plain/34fe63727a8929d7e9c529feee1f0c1e827acdfa..404bd293fe621a270748df828c67e507b350920b:/app/views/quickvote/create.rhtml diff --git a/app/views/quickvote/create.rhtml b/app/views/quickvote/create.rhtml index 0a5d4aa..b430495 100644 --- a/app/views/quickvote/create.rhtml +++ b/app/views/quickvote/create.rhtml @@ -1,20 +1,14 @@ <% -%> -

<%= @quickvote ? "Review and Confirm" : "Create QuickVote" %>

+

Create QuickVote

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

-

Please review the data you've entered and confirm it. The candidates -for the vote you've submitted include:

- - - -<% end %> + +
+<%= render :partial => 'candidate_list' %> +
<%= form_tag :action => 'create' %> @@ -30,18 +24,7 @@ for the vote you've submitted include:

<%= text_area 'quickvote', 'description', :cols => 50, :rows => 4 %>

-


- -<%= text_area 'quickvote', 'candidatelist', :cols => 50, :rows => 2 %>

- -

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

+<%= submit_tag "Create Quickvote" -%> <%= end_form_tag %>