You are here

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.

File

templates/antibot-no-js.html.twig
View source
  1. {#
  2. /**
  3. * @file antibot-no-js.html.twig
  4. * Theme implementation to present markup inside Antibot-protected forms.
  5. *
  6. * The purpose is to show a message to users without Javascript.
  7. *
  8. * Available variables:
  9. * - message: The message text that is shown to non-JS users.
  10. *
  11. * @ingroup themeable
  12. */
  13. #}
  14. <noscript>
  15. <div class="antibot-no-js antibot-message antibot-message-warning">{{ message }}</div>
  16. </noscript>