gee-captcha.hbs 506 Bytes
{{#if_cond @root.captcha.type '===' 'geetest'}}
    <script>window._captcha = 'geetest';</script>
    <script>window._captchaValue = true;</script>
    <script src="https://static.geetest.com/static/tools/gt.js"></script>
{{/if_cond}}

{{#if_cond @root.captcha.type '===' 'image'}}
    <script>window._captcha = 'image';</script>
    {{#if @root.captcha.value}}
        <script>window._captchaValue = true;</script>
    {{^}}
        <script>window._captchaValue = false;</script>
    {{/if}}
{{/if_cond}}