0

I am using wick for a multi step form, steps are created dynamiquement like this:

  include Wicked::Wizard
  before_action :set_steps
  before_action :setup_wizard

  def set_steps
    self.steps = Answer.pluck(:cached_slug)
  end

So far so good, but how can I create the templates for each step, since they are defined dynamically? I did not put any examples because I have no idea what to do!

Adell
  • 13
  • 4

0 Answers0