antibot-no-js.html.twig in Antibot 8
antibot-no-js.html.twig Theme implementation to present markup inside Antibot-protected forms.
The purpose is to show a message to users without Javascript.
Available variables:
- message: The message text that is shown to non-JS users.
1 theme call to antibot-no-js.html.twig
- antibot_protect_form in ./
antibot.module - Helper function to enable Antibot protection for a given form.
File
templates/antibot-no-js.html.twigView source
- {#
- /**
- * @file antibot-no-js.html.twig
- * Theme implementation to present markup inside Antibot-protected forms.
- *
- * The purpose is to show a message to users without Javascript.
- *
- * Available variables:
- * - message: The message text that is shown to non-JS users.
- *
- * @ingroup themeable
- */
- #}
- <noscript>
- <div class="antibot-no-js antibot-message antibot-message-warning">{{ message }}</div>
- </noscript>