realms-wiki/realms/templates/macros.html
2013-10-03 10:01:40 -05:00

9 lines
254 B
HTML

{% macro recaptcha(config) -%}
<script>
var RecaptchaOptions = {
theme : '{{ config.RECAPTCHA_OPTIONS['theme'] }}'
};
</script>
<script src="http://www.google.com/recaptcha/api/challenge?k={{ config.RECAPTCHA_PUBLIC_KEY }}">
</script>
{%- endmacro %}