Reputation: 649
I wonder what's the best way to design an object creation step by step.
For example,
I have a model order and I want too design the order/new such that, by clicling on create new order user goes over the following steps:
The problem is ut is a difficult design to create, I've never saw the example of such design ni source code, however it's very popular step-by-step creation.
The difficulty is all filled information relates to order and by pressing continue I should to save the info somewhere then open new form, fill the info there and save and at the end create object order.
Do you familiar with the described scenario, and how to implement it in rails.
Upvotes: 2
Views: 182
Reputation: 1793
I would use Wicket.
https://github.com/schneems/wicked/wiki/Building-Partial-Objects-Step-by-Step
What your describing are called Wizard forms:
http://railscasts.com/episodes/346-wizard-forms-with-wicked?view=asciicast
In the tutorial you can manage forms in separate steps:
Step 1
Step 2
Step 3
Upvotes: 4