       <div class='fl company-name'>{{> @companyName}}</div>
       <div class='fl submit'>{{> @button}}</div>
     </section>
-    """
+    """
          messages    :
            required  : "Please enter a your company name."

    @button = new KDButtonView
      title       : 'Sign up'
      style       : 'solid medium green'
      attributes  : testpath : 'signup-company-button'
      type        : 'submit'
      loader      : yes


  activate: ->
    @username.setFocus()


  resetDecoration:->
    @username.resetDecoration()
    @password.resetDecoration()


  pistachio:->


    super

    team        = KD.utils.getTeamData()
    email       = team.signup?.email
    companyName = team.signup?.companyName


    @email = new LoginInputViewWithLoader
      inputOptions   :
        name         : 'email'
        placeholder  : 'Email address'
        defaultValue : email  if email
        attributes   : testpath : 'register-form-email'
        validate     :
          rules      :
            email    : yes
          messages   :
            email    : 'Please type a valid email address.'

    @companyName = new LoginInputView
      inputOptions    :
        name          : 'companyName'
        placeholder   : 'Company Name'
        defaultValue  : companyName  if companyName
        attributes    : testpath : 'company-name'
        validate      :
          event       : 'blur'
