]> projects.mako.cc - selectricity/blobdiff - app/views/election/_candidate_form.rhtml
Changed justin's email in README because mit.edu address is out of date.
[selectricity] / app / views / election / _candidate_form.rhtml
index ed14dffe288b9e513b6b46a5969215bf77eecbed..75e5c3ec3794f08423b959e983ce45834226c357 100644 (file)
@@ -1,11 +1,11 @@
-<% %>
-
-<p>New candidate name:<br />
+<p><label for="candidate_name">Name</label><br />
 <%= text_field :candidate, :name, :size => 60 %></p>
  
-<p>Candidate description/platform (optional):<br />
+<p><label for="candidate_description">Description/Platform</label> (optional)<br />
 <%= text_area :candidate, :description, :cols => 60, :rows => 5 %></p>
 
-<p>Candidate picture (optional and < 100x100 pixels):<br />
-<%= file_field :candidate, :picture %></p>
 
+<p style="float: left;"><label for="candidate_picture">Picture</label> (optional and &lt; 100x100 pixels)<br />
+<%= file_field :picture, :uploaded_data%></p>
+
+<div class="clear-div"></div>

Benjamin Mako Hill || Want to submit a patch?