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

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