first (mostly) working version of full elections.
[selectricity-live] / app / views / election / _candidate_form.rhtml
index ed14dffe288b9e513b6b46a5969215bf77eecbed..fcbf0721eeec4417ca084b26edc131e016d32df7 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 />
+
+<p style="float: left;"><label for="candidate_picture">Picture</label> (optional and &lt; 100x100 pixels)<br />
 <%= file_field :candidate, :picture %></p>
 
+<div class="clear-div"></div>

Benjamin Mako Hill || Want to submit a patch?