X-Git-Url: https://projects.mako.cc/source/selectricity/blobdiff_plain/04f827dd4647f3a7d6e5bd8f5e9083c730a8dccc..008cc97a2f0d84b4de46f2125133afe6c7f620c7:/app/views/quickvote/create.rhtml diff --git a/app/views/quickvote/create.rhtml b/app/views/quickvote/create.rhtml index 7074218..b1b6004 100644 --- a/app/views/quickvote/create.rhtml +++ b/app/views/quickvote/create.rhtml @@ -1,46 +1,69 @@ -<% -%> -
Please review the data you've entered and confirm. The candidates for -the election submitted include:
+Header +Subheader + -
+
required; 5-12 characters; only letters and numbers; no spaces
-<%= text_field 'quickvote', 'name' %> +<%= text_field 'quickvote', 'name', :size => 15, :maxsize => 12 %>
-
+
required; one line summary on the first line
+
+<%= text_area 'quickvote', 'description', :cols => 50, :rows => 4 %>
<%= submit_tag "Create Quickvote" -%>
+ +<% end %> -
-Seperate choices with a ";". At least two are required.
-<%= text_area 'quickvote', 'candidatelist', :rows => 3 %>
<% if @quickvote -%> - <%= submit_tag "Confirm" -%> - <%= hidden_field :quickvote, :reviewed, :value => 1 %> - <% else %> - <%= submit_tag "Create QuickVote" -%> - <%- end -%> -
-<%= end_form_tag %>