2013-10-02 04:50:48 +03:00
|
|
|
{% macro recaptcha(config) -%}
|
|
|
|
<script>
|
|
|
|
var RecaptchaOptions = {
|
2013-12-04 00:28:16 +02:00
|
|
|
theme : "{{ config.RECAPTCHA_OPTIONS['theme'] }}"
|
2013-10-02 04:50:48 +03:00
|
|
|
};
|
|
|
|
</script>
|
|
|
|
<script src="http://www.google.com/recaptcha/api/challenge?k={{ config.RECAPTCHA_PUBLIC_KEY }}">
|
|
|
|
</script>
|
|
|
|
{%- endmacro %}
|