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

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