X-Git-Url: https://projects.mako.cc/source/selectricity/blobdiff_plain/2ba40f97b78f529984ff26c7c7d61c91d213e7b0..79b260d1caad8ef8559a9d8a9c46068acafdf9fb:/app/views/election/_candidate_form.rhtml diff --git a/app/views/election/_candidate_form.rhtml b/app/views/election/_candidate_form.rhtml index e9770b8..75e5c3e 100644 --- a/app/views/election/_candidate_form.rhtml +++ b/app/views/election/_candidate_form.rhtml @@ -1,8 +1,11 @@ -

New candidate name:
-<%= text_field :candidate, :name %>

+


+<%= text_field :candidate, :name, :size => 60 %>

-

Candidate description/platform (optional):
-<%= text_area :candidate, :description %>

+

(optional)
+<%= text_area :candidate, :description, :cols => 60, :rows => 5 %>

-

Candidate picture (optional and < 100x100 pixels):
-<%= file_field :candidate, :picture %>

+ +

(optional and < 100x100 pixels)
+<%= file_field :picture, :uploaded_data%>

+ +