X-Git-Url: https://projects.mako.cc/source/selectricity-live/blobdiff_plain/fd484b33a3920e0031007c5c2f1dec61913cbab5..5fd5cba6038d0ed97adb735cd24cc70c26335a3e:/app/views/election/_candidate_form.rhtml diff --git a/app/views/election/_candidate_form.rhtml b/app/views/election/_candidate_form.rhtml index 6e0fb1f..75e5c3e 100644 --- a/app/views/election/_candidate_form.rhtml +++ b/app/views/election/_candidate_form.rhtml @@ -1,11 +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%>

+