[Rails] (no subject)
Jim Weir
javawaba at hotmail.com
Mon Aug 14 18:35:49 GMT 2006
I have the following code that generates a rhtml page,
<%= start_form_tag :action => 'create' %>
<%= render :partial => 'form' %>
<%= submit_tag "Create" %>
<%= end_form_tag %>
<%= link_to 'Back', :action => 'list' %>
...I am trying to put a "Browse" button to allow a user to select a file for
upload. How can I modify the code so that it automaticall generates a
"file_field" instead of a "text_field"?
Jim
_________________________________________________________________
Dont just search. Find. Check out the new MSN Search!
http://search.msn.click-url.com/go/onm00200636ave/direct/01/
More information about the Rails
mailing list