]> projects.mako.cc - selectricity/blob - app/views/elections/_overview_form.rhtml
Added a series of files so that elections can be created and edited and
[selectricity] / app / views / elections / _overview_form.rhtml
1 <%= error_messages_for 'election' %>
2
3 <!--[form:election]-->
4 <p><label for="election_name">Name</label><br/>
5 <%= text_field 'election', 'name'  %></p>
6
7 <p><label for="election_description">Description</label><br/>
8 <%= text_area 'election', 'description'  %></p>
9
10 <p><label for="election_anonymous">Anonymous Vote</label>
11 <%= check_box 'election', 'anonymous', {}, 1, 0  %></p>
12
13 <p>Election/Voting Start Date<br />
14 <%= datetime_select :election, :startdate %></p>
15
16 <p>Election/Voting End Date<br />
17 <%= datetime_select :election, :enddate %></p>
18
19 <!--[eoform:election]-->
20

Benjamin Mako Hill || Want to submit a patch?