View Source OmniCaptcha.Template (Omni Captcha v0.0.1)
Responsible for rendering boilerplate OmniCaptcha HTML code, supports noscript fallback.
In future this module may be separated out into a Phoenix specific library.
Summary
Functions
Renders the captcha widget.
Options
:adapter
- sets the adapter that is used to load related configuration for the provider. (defaults toOmniCaptcha.Adapter.Sandbox
):site_key
- sets the site key used by the provider captcha widget. (defaults to the site_key provided in the application config)
Renders the captcha script.
Options
:adapter
- sets the adapter that is used to load related configuration for the provider. (defaults toOmniCaptcha.Adapter.Sandbox
):script_opts
- optional script options can be set for callbacks or other configuration (defaults to application configuration or "" if not provided)