anchor.diff:                   label(for='key') API Key
                    input(id='key', name='key', value=defaultKey, style='color=#EEEEEE')
                div
  -                 - if (apiInfo.auth.oauth || apiInfo.signature)
  +                 - if (apiInfo.oauth || apiInfo.signature)
                        label(for='secret') Shared Secret
                        input(id='secret', name='secret', value=defaultSecret, style='color=#EEEEEE')
  -             - if (apiInfo.auth.oauth && apiInfo.auth.oauth.type !='two-legged')
  +             - if (apiInfo.oauth && apiInfo.oauth.type !='two-legged')
                    div
                       input(name='oauth', value='Authenticate with OAuth', type='submit', id='oauth-auth')
   
  
positive.code:     input(type='hidden', name='apiName', value=apiName)
      - if (apiInfo.auth) 
          section(class='credentials ' + authed)
           - if (authed && apiInfo.auth.oauth)
               span Authenticated with OAuth
               img(src='/images/accept.png')
           - else
               h2 API Credentials
                 img(src='/images/key.png')
  
               - if (apiInfo.auth.oauth)
                   input(type='hidden', name='oauth', value='authrequired')
  
               - if (apiInfo.auth.defaultKey)
  
negative.code: h1=apiInfo.name 
  - if (session.authed && apiInfo.oauth && apiInfo.oauth.type =='three-legged')
      - var authed ='authed'
  - else
      - var authed =''
  