Displaying 1 result from an estimated 1 matches for "form_step2".
Did you mean:
form_step1
2006 Jan 11
1
fiile_column persistent across different forms
...oth views) i do
@post = Post.new
in the view i do
form_step1.rhtml
---------------------
<%= file_column_field "post", "image" %>
<% if @post["image"] %>
<%= image_tag url_for_file_column("post", "image") %>
<% end %>
form_step2.rhtml
----------------
<% if @post["image"] %>
<%= image_tag url_for_file_column("post", "image") %>
<br><br
<% end %>
and in my model i do
file_column :image, :magick => { :geometry => "...