X-Git-Url: https://projects.mako.cc/source/selectricity-live/blobdiff_plain/4efa3e9bc47cc649205a399fde51ed7e61bef7f8..2ba40f97b78f529984ff26c7c7d61c91d213e7b0:/app/views/election/_candidate_form.rhtml diff --git a/app/views/election/_candidate_form.rhtml b/app/views/election/_candidate_form.rhtml new file mode 100644 index 0000000..e9770b8 --- /dev/null +++ b/app/views/election/_candidate_form.rhtml @@ -0,0 +1,8 @@ +

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

+ +

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

+ +

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