]> projects.mako.cc - selectricity-live/blobdiff - app/views/election/_candidate_form.rhtml
Updated the system to Rails 1.2.
[selectricity-live] / app / views / election / _candidate_form.rhtml
old mode 100644 (file)
new mode 100755 (executable)
index 6e0fb1f..ed14dff
@@ -1,10 +1,10 @@
 <% %>
 
 <p>New candidate name:<br />
-<%= text_field :candidate, :name %></p>
+<%= text_field :candidate, :name, :size => 60 %></p>
  
 <p>Candidate description/platform (optional):<br />
-<%= text_area :candidate, :description %></p>
+<%= text_area :candidate, :description, :cols => 60, :rows => 5 %></p>
 
 <p>Candidate picture (optional and < 100x100 pixels):<br />
 <%= file_field :candidate, :picture %></p>

Benjamin Mako Hill || Want to submit a patch?