Typus save/edit form

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

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs