]> projects.mako.cc - selectricity/blob - app/views/quickvote/create.rhtml
Merge trunk
[selectricity] / app / views / quickvote / create.rhtml
1 <div id="voters-title">
2         <span class="header">Title</span>
3         <span class="subheader">Subtitle</span>
4         <div style="clear:both;"></div>
5 </div>
6
7 <div id="controlroom-title">
8         <span class="header">Title</span>
9         <span class="subheader">Subtitle</span>
10         <div style="clear:both;"></div>
11 </div>
12
13 <div id="quickvote-title">
14         <span class="header">Quickvote</span>
15         <span class="subheader"></span>
16         <div style="clear:both;"></div>
17 </div>
18
19 <%= error_messages_for 'quickvote' %>
20
21 <span class="header">Header</span>
22 <span class="subheader">Subheader</span>
23 <div style="clear:both;"></div>
24
25 <span class="header">Header</span>
26 <span class="subheader"></span>
27 <div style="clear:both;"></div>
28
29 <span class="header">Header</span>
30 <div style="clear:both;"></div>
31
32 <p><label for="quickvote_candidate_names">Choices</p>
33
34 <!-- the list of candidates -->
35 <div id="candidate_names">
36 <%= render :partial => 'candidate_list' %>
37 </div>
38
39 <% form_tag(:action => 'create') do %>
40 <!--[form:election]-->
41
42 <p><label for="quickvote_name">One Word Description (for URL)</label></p>
43
44 <p><em><font size="-1">required; 5-12 characters; only letters and numbers; no spaces</font></em></p>
45
46 <p><%= text_field 'quickvote', 'name', :size => 15, :maxsize => 12  %></p>
47
48 <p><label for="quickvote_description">Description</label></p>
49
50 <p><font size="-1">required; one line summary on the first line</font></em><br/>
51
52 <%= text_area 'quickvote', 'description', :cols => 50, :rows => 4 %></p>
53
54 <%= check_box('options', 'advanced', 
55     :onclick => 'Element.toggle($("advanced")); false;' )%>Advanced
56
57 <div id="advanced" style="display: none">
58 <%= render :partial => 'advanced', :locals => {:quickvote => @quickvote} %>
59 </div>
60 <br />
61
62 <p><%= submit_tag "Create Quickvote" -%></p>
63
64 <% end %>
65
66
67
68
69

Benjamin Mako Hill || Want to submit a patch?