Hi,

I have some troubles with Typus form when I want to "Save and add new"
and I want to know
if there's anyone here that uses Typus.

What I want to know is how can I clean the fields of the form after
hitting "Save and add new"
I have a question_controller and inside I put this

        def new
                if params[:_addanother]
                        super
                        _evaluation = @item.evaluation_id
                        @item = Question.new
                end
        end

I was trying to render a new form, but I'm not sure if it's ok.
Somebody uses Typus?

Thanks in advance

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to