Skip to content
Snippets Groups Projects
Commit 118252b7 authored by Jonas Leder's avatar Jonas Leder
Browse files

fixed bug with recaptcha

parent 5ba11e77
No related branches found
No related tags found
No related merge requests found
Pipeline #54 passed
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
{% endif %} {% endif %}
<input id="short" name="short" type="text" placeholder="short name" value="{{short_url_prefilled}}"/> <input id="short" name="short" type="text" placeholder="short name" value="{{short_url_prefilled}}"/>
{% if recaptchaPrivateKey %} {% if recaptchaPublicKey %}
<button class="g-recaptcha" data-sitekey="{{recaptchaPublicKey}}" data-callback='onSubmit'>short</button> <button class="g-recaptcha" data-sitekey="{{recaptchaPublicKey}}" data-callback='onSubmit'>short</button>
{% else %} {% else %}
<button>short</button> <button>short</button>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment