 
     remote.api.JUser.verifyByPin resendIfExists: yes, (err) =>
 
-      @emailForm.fields.verifyEmail.hide()
-      @emailForm.inputs.verifyEmail.hide()
+      @userProfileForm.fields.verifyEmail.hide()
+      @userProfileForm.inputs.verifyEmail.hide()
       return showError err if err
 
       notify "We've sent you a confirmation mail.", 3500

remote = require('app/remote').getInstance()
s3upload = require 'app/util/s3upload'
whoami = require 'app/util/whoami'
showError = require 'app/util/showError'
JView = require 'app/jview'
AvatarStaticView = require 'app/commonviews/avatarviews/avatarstaticview'

        {{> @useGravatarBtn}}
      </div>
    </div>
    {{> @userProfileForm}}
    """


