X-Git-Url: https://projects.mako.cc/source/selectricity/blobdiff_plain/ac5e3489e8b886b7b8a7252ab56ddeb3d3bdadc7..8a444bfe3f442135ba66e5d9b8cdddfa9e3b50f2:/app/views/quickvote/create.rhtml diff --git a/app/views/quickvote/create.rhtml b/app/views/quickvote/create.rhtml index 0a5d4aa..eecb4fb 100644 --- a/app/views/quickvote/create.rhtml +++ b/app/views/quickvote/create.rhtml @@ -1,47 +1,72 @@ -<% -%> -

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

+
+ Quickvote + Create New QuickVote +
-<%= error_messages_for 'quickvote' %> +

-<% if @quickvote %> + +
+<%= render :partial => 'candidate_list' %> +
-

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

+<% form_tag(:action => 'create') do %> + +

- +

required; 5-12 characters; only letters and numbers; no spaces

-<% end %> +

<%= text_field 'quickvote', 'name', :size => 15, :maxsize => 12 %>

-<%= form_tag :action => 'create' %> - +

+ +

required; free-form
+ +<%= text_field 'quickvote', 'description', :size => 50 %>

+ + +
+ +

<%= submit_tag "Create Quickvote" -%>

+ +<% end %>