search for: new_message_form

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

2007 Feb 27
0
form_remote_for & file uploads
...ailable, and they all seen to statically generate <form> tags. Is there a way to get a file upload to work using the Rails helpers? <% form_remote_for(:message, @message, :url => contacts_messages_path(contact), :method => :post, :html => {:multipart => :true, :id => "new_message_form", :target => "frame"}) do |f| %> <iframe id=''frame'' name="frame" style="display:none;"></iframe> ...fields... <% end %> Help is appreciated. - j --~--~---------~--~----~------------~-------~--~----~ You received this m...