realms-wiki/realms/templates/macros.html
2013-12-03 16:28:16 -06: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 %}