X-Git-Url: https://projects.mako.cc/source/selectricity/blobdiff_plain/fc0a6a8d7ea15bcdb27ebdd58721401c7045c6e0..2857ac6197adfe972a5e6129a3f26af9e148edb1:/app/views/quickvote/create.rhtml?ds=sidebyside diff --git a/app/views/quickvote/create.rhtml b/app/views/quickvote/create.rhtml old mode 100755 new mode 100644 index 360a690..94081e6 --- a/app/views/quickvote/create.rhtml +++ b/app/views/quickvote/create.rhtml @@ -1,30 +1,69 @@ -<% -%> -

Create QuickVote

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

+

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

+ +

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

+ +

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

+ +

+ +

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

+ + +
-<%= submit_tag "Create Quickvote" -%> +

<%= submit_tag "Create Quickvote" -%>

-<%= end_form_tag %> +<% end %>