 
 
     @button = new KDButtonView
-      title       : 'Continue to environmental setup'
-      style       : 'SignupForm-button SignupForm-button--green'
-      attributes  : testpath  : 'register-button'
-      loader      : yes
-      callback    : =>
-        console.log 'go to invites:'
-        KD.singletons.router.handleRoute '/Team/invite'
+      title      : 'Continue to environmental setup'
+      style      : 'SignupForm-button SignupForm-button--green'
+      attributes : testpath : 'register-button'
+      type       : 'submit'
 
 
   pistachio: ->

          required  : yes
          minLength : 8
        messages    :
          required  : "Please enter a password."
          minLength : "Passwords should be at least 8 characters."
      keyup         : (event) ->
        pass     = @getValue()
        strength = ['bad', 'weak', 'moderate', 'good', 'excellent']

      name         : 'newsletter'
      label        : @label

    team     = KD.utils.getTeamData()
    username = email.split('@').first  if email = team.signup?.email

    @username = new KDInputView
      placeholder  : 'username'
      name         : 'username'
      defaultValue : username  if username

    @passwordStrength = ps = new KDCustomHTMLView
      tagName  : 'figure'
