Initital scaffolding of the website plus initial work on the adding and
[selectricity] / app / views / elections / _overview_form.rhtml
diff --git a/app/views/elections/_overview_form.rhtml b/app/views/elections/_overview_form.rhtml
new file mode 100644 (file)
index 0000000..b3715e1
--- /dev/null
@@ -0,0 +1,13 @@
+<%= error_messages_for 'election' %>
+
+<!--[form:election]-->
+<p><label for="election_name">Name</label><br/>
+<%= text_field 'election', 'name'  %></p>
+
+<p><label for="election_description">Description</label><br/>
+<%= text_area 'election', 'description'  %></p>
+
+<p><label for="election_anonymous">Anonymous Vote</label>
+<%= check_box 'election', 'anonymous', {}, 1, 0  %></p>
+<!--[eoform:election]-->
+

Benjamin Mako Hill || Want to submit a patch?