projects
/
selectricity
/ 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]
/
app
/
views
/
election
/
_candidate_form.rhtml
diff --git
a/app/views/election/_candidate_form.rhtml
b/app/views/election/_candidate_form.rhtml
index e9770b8b6cc706bb012f34c15cda0432a4aad00e..ed14dffe288b9e513b6b46a5969215bf77eecbed 100644
(file)
--- a/
app/views/election/_candidate_form.rhtml
+++ b/
app/views/election/_candidate_form.rhtml
@@
-1,8
+1,11
@@
+<% %>
+
<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?