projects
/
selectricity-live
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
first (mostly) working version of full elections.
[selectricity-live]
/
app
/
views
/
election
/
_candidate_form.rhtml
diff --git
a/app/views/election/_candidate_form.rhtml
b/app/views/election/_candidate_form.rhtml
index ed14dffe288b9e513b6b46a5969215bf77eecbed..fcbf0721eeec4417ca084b26edc131e016d32df7 100644
(file)
--- a/
app/views/election/_candidate_form.rhtml
+++ b/
app/views/election/_candidate_form.rhtml
@@
-1,11
+1,11
@@
-<% %>
-
-<p>New candidate name:<br />
+<p><label for="candidate_name">Name</label><br />
<%= text_field :candidate, :name, :size => 60 %></p>
<%= 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>
<%= 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 < 100x100 pixels)<br />
<%= file_field :candidate, :picture %></p>
<%= file_field :candidate, :picture %></p>
+<div class="clear-div"></div>
Benjamin Mako Hill
||
Want to submit a patch?