     this.setRadioButtons(model)
 
   createButton: (name, label) ->
-    """<input type="button" name="#{name}" value="#{label}" />"""
+    """<input type="button" class="wizard_button" name="#{name}" value="#{label}" />"""
 
   setButton: (stepId, name, label) ->
     $buttonsDiv = $("fieldset##{stepId}").find("div.buttons")
     switch name
       when "next"
-        # console.log "Setting submit button val to #{label}"
+        # console.log "Setting #{stepId} submit button val to #{label}"
         $button = $buttonsDiv.find('input:submit')
         unless $button.length > 0
-          $button = $('<input type="submit" />').appendTo $buttonsDiv
+          $button = $('<input class="wizard_button wizard_next" type="submit" />').appendTo $buttonsDiv
         $button.val(label)
       when "back"
         # console.log "Setting reset button val to #{label}"
         $button = $buttonsDiv.find('input:reset').val(label)
         unless $button.length > 0
-          $button = $('<input type="reset" />').appendTo $buttonsDiv
+          $button = $('<input class="wizard_button wizard_back" type="reset" />').appendTo $buttonsDiv
         $button.val(label)
       else
         buttonSelector = """input:button[name="#{name}"][value="#{label}"]"""

    # prevent submitting the step that happens to be the last fieldset
    this.addFakeLastStep()
    this.addDefaultButtons()
    this.setupButtonsForAllSteps()
    this.enableFormwizard()
    this.setCurrentStepField()
    this.bindEvents()


    @form.formwizard("option", remoteAjax: this.ajaxEvents())

  goToStepId: (stepId) ->
    this.showStep(stepId)
    @form.formwizard("next")

  # TODO: Try linking to the same step rather than cloning it.
  repeatStep: (step) ->
    $sourceStep = this.findStep(step.repeatOf.fieldset)
    $clonedStep = $sourceStep.clone(true, true)
    $clonedStep.css("display", "none")
    $clonedStep.attr("id", step.name)
