anchor.diff:                input(name='_csrf', type='hidden', value=csrfToken)
   
                 .form-group.group-email
  -                if app.get('stormpathEnableFacebook') || app.get('stormpathEnableGoogle')
  +                if config.socialProviders
                     - var cls = 'col-sm-12'
                   else
                     - var cls = 'col-sm-4'
   
  -                if app.get('stormpathEnableUsername')
  +                if config.web.register.fields.username.enabled
                     label(class='#{cls}') Username or Email
                   else
                     label(class='#{cls}') Email
   
  -                if app.get('stormpathEnableFacebook') || app.get('stormpathEnableGoogle')
  +                if config.socialProviders
                     - var cls = 'col-sm-12'
                   else
                     - var cls = 'col-sm-8'
   
                   div(class='#{cls}')
                     - var value = form.data ? form.data.login : '';
  -                  if app.get('stormpathEnableUsername')
  +                  if config.web.register.fields.username.enabled
                       input.form-control(autofocus='true', placeholder='Username or Email', required=true, name='login', type='text', value=value)
                     else
                       input.form-control(autofocus='true', placeholder='Email', required=true, name='login', type='text', value=value)
   
  -              if app.get('stormpathEnableFacebook') || app.get('stormpathEnableGoogle')
  +              if config.socialProviders
                   - var cls = 'col-sm-12'
                 else
                   - var cls = 'col-sm-4'
  
positive.code:               .form-group.group-password
                  label(class='#{cls}') Password
  
                  if app.get('stormpathEnableFacebook') || app.get('stormpathEnableGoogle')
                    - var cls = 'col-sm-12'
                  else
                    - var cls = 'col-sm-8'
  
negative.code:                     receive an email shortly.
            br
          .box.row
            if config.socialProviders
              - var cls = 'small col-sm-8'
            else
              - var cls = 'large col-sm-12'
  