search for: enter_stuff

Displaying 1 result from an estimated 1 matches for "enter_stuff".

2006 Feb 21
3
must be a cleaner way to do this ...
Am trying to do a bulk entry facility for some project or other. It works but it feels ugly. I generate a form with twenty empty input fields: %= form_tag("action" => "enter_stuff") %> <% (1..20).each do |line| %> <div id="line<%= line %>"> <%= line %> <<%= text_field("action", "name", "size" => 80) %> &nbsp </div> <% end %> <%= submit_tag("...