X-Git-Url: https://projects.mako.cc/source/selectricity/blobdiff_plain/c65b1e11059c5cf510b54c785d4a246215058f70..57886e0afdac6da60651284daee1e088feb14537:/app/views/election/_candidate_form.rhtml?ds=sidebyside diff --git a/app/views/election/_candidate_form.rhtml b/app/views/election/_candidate_form.rhtml index ed14dff..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, :size => 60 %>

-

Candidate description/platform (optional):
+

(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%>

+ +