X-Git-Url: https://projects.mako.cc/source/selectricity/blobdiff_plain/04f827dd4647f3a7d6e5bd8f5e9083c730a8dccc..2b0073e486a86c2546b58a7ffc10d641f73d196a:/app/views/quickvote/create.rhtml diff --git a/app/views/quickvote/create.rhtml b/app/views/quickvote/create.rhtml index 7074218..c05424e 100644 --- a/app/views/quickvote/create.rhtml +++ b/app/views/quickvote/create.rhtml @@ -1,46 +1,68 @@ -<% -%> -

Create QuickVote

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

-<% if @quickvote %> -

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

+ +
+<%= render :partial => 'candidate_list' %> +
- +<% form_tag(:action => 'create') do %> + +

-<% end %> +

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

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

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

+ +

+ +

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

-

+
+ +

<%= submit_tag "Create Quickvote" -%>

+ +<% end %>