projects
/
selectricity-live
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
a long variety of improvements and tweaks
[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 6e0fb1fe59d79edb92bfb17a3beb6a8505afe8bc..ed14dffe288b9e513b6b46a5969215bf77eecbed 100644
(file)
--- a/
app/views/election/_candidate_form.rhtml
+++ b/
app/views/election/_candidate_form.rhtml
@@
-1,10
+1,10
@@
<% %>
<p>New candidate name:<br />
<% %>
<p>New candidate name:<br />
-<%= text_field :candidate, :name %></p>
+<%= text_field :candidate, :name
, :size => 60
%></p>
<p>Candidate description/platform (optional):<br />
<p>Candidate description/platform (optional):<br />
-<%= text_area :candidate, :description %></p>
+<%= text_area :candidate, :description
, :cols => 60, :rows => 5
%></p>
<p>Candidate picture (optional and < 100x100 pixels):<br />
<%= file_field :candidate, :picture %></p>
<p>Candidate picture (optional and < 100x100 pixels):<br />
<%= file_field :candidate, :picture %></p>
Benjamin Mako Hill
||
Want to submit a patch?