Mostly worked on the candidate adding feature to include pictures and
[selectricity-live] / app / views / election / _candidate_form.rhtml
diff --git a/app/views/election/_candidate_form.rhtml b/app/views/election/_candidate_form.rhtml
new file mode 100644 (file)
index 0000000..e9770b8
--- /dev/null
@@ -0,0 +1,8 @@
+<p>New candidate name:<br />
+<%= text_field :candidate, :name %></p>
+<p>Candidate description/platform (optional):<br />
+<%= text_area :candidate, :description %></p>
+
+<p>Candidate picture (optional and < 100x100 pixels):<br />
+<%= file_field :candidate, :picture %></p>

Benjamin Mako Hill || Want to submit a patch?