realms-wiki/realms/templates/macros.html

9 lines
254 B
HTML
Raw Normal View History

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 %}