
-if(settings.email.active == "option-smtp")
    #mail-smtp(data-enabled='true')
        input(type='text', name='smtp-domain' id='smtp-domain', placeholder='domain', value=settings.email.smtp.domain autofocus)
        input(type='text', name='smtp-email' id='smtp-email', placeholder='email', value=settings.email.smtp.email , autofocus)
        input(type='text', name='smtp-pass' id='smtp-pass', placeholder='password', value=settings.email.smtp.password , autofocus)
    #mail-mg(data-enabled='false')
        input(type='text', name='mg-domain' id='mg-domain', placeholder='domain', value=settings.email.mailgun.domain  autofocus)
        input(type='text', name='mg-key' id='mg-key', placeholder='api key', value=settings.email.mailgun.key , autofocus)
-else if(settings.email.active == "option-mg")
    #mail-smtp(data-enabled='false')
        input(type='text', name='smtp-domain' id='smtp-domain', placeholder='domain', value=settings.email.smtp.domain autofocus)
        input(type='text', name='smtp-email' id='smtp-email', placeholder='email', value=settings.email.smtp.email , autofocus)
        input(type='text', name='smtp-pass' id='smtp-pass', placeholder='password', value=settings.email.smtp.password , autofocus)
    #mail-mg(data-enabled='mg')
        input(type='text', name='mg-domain' id='mg-domain', placeholder='domain', value=settings.email.mailgun.domain  autofocus)
        input(type='text', name='mg-key' id='mg-key', placeholder='api key', value=settings.email.mailgun.key , autofocus)
-else
    #mail-smtp(data-enabled='false')
        input(type='text', name='smtp-domain' id='smtp-domain', placeholder='domain', value=settings.email.smtp.domain autofocus)
        input(type='text', name='smtp-email' id='smtp-email', placeholder='email', value=settings.email.smtp.email , autofocus)
        input(type='text', name='smtp-pass' id='smtp-pass', placeholder='password', value=settings.email.smtp.password , autofocus)
    #mail-mg(data-enabled='false')
        input(type='text', name='mg-domain' id='mg-domain', placeholder='domain', value=settings.email.mailgun.domain  autofocus)
        input(type='text', name='mg-key' id='mg-key', placeholder='api key', value=settings.email.mailgun.key , autofocus)