X-Git-Url: https://projects.mako.cc/source/selectricity/blobdiff_plain/fc0a6a8d7ea15bcdb27ebdd58721401c7045c6e0..8a444bfe3f442135ba66e5d9b8cdddfa9e3b50f2:/app/views/election/_candidate_form.rhtml?ds=inline diff --git a/app/views/election/_candidate_form.rhtml b/app/views/election/_candidate_form.rhtml old mode 100755 new mode 100644 index ed14dff..fcbf072 --- 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):
+ +

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

+