change_image.rhtml 281 Bytes Edit Raw Blame History Permalink 1 2 3 4 5 <% form_for :image, @image, :html => { :multipart => true }, :url => { :action => 'change_image'} do |f| %> <%= display_form_field(_('Image'), f.file_field( :uploaded_data ) ) %> <%= display_submit_tag(_('Upload')) %> <%= link_to _('Cancel'), :action => 'index' %> <% end %>