 
   setAction: (url, method) ->
     methodLower = method.toLowerCase()
-    console.log "Setting form action to #{methodLower} #{url}"
+    # console.log "Setting form action to #{methodLower} #{url}"
     @form.attr("action", url)
     @form.attr("method", "post")
     @form.formwizard("option", remoteAjax: this.ajaxEvents())

  $form = $("form.wizard")
  window.hatTrick = {} unless window.hatTrick?
  unless window.hatTrick.wizard?
    console.log "Creating new HatTrickWizard instance"
    window.hatTrick.wizard = new HatTrickWizard($form, hatTrick.metadata)

camelizeString = (string) ->


  repeatStep: (step) ->
    $sourceStep = this.findStep(step.repeatOf.fieldset)
    # console.log "Cloning repeated step #{step.repeatOf.fieldset}"
    $clonedStep = $sourceStep.clone(true, true)
    $clonedStep.css("display", "none")
    $clonedStep.attr("id", step.name)
