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

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