file form.html.twig

Theme override to display a form.

Available variables

  • attributes: A list of HTML attributes for the wrapper element.
  • children: The child elements of the form.

File

templates/form/form.html.twig
View source
  1. {#
  2. /**
  3. * @file
  4. * Theme override to display a form.
  5. *
  6. * Available variables
  7. * - attributes: A list of HTML attributes for the wrapper element.
  8. * - children: The child elements of the form.
  9. *
  10. * @see template_preprocess_form()
  11. *
  12. * @ingroup uikit_themeable
  13. */
  14. #}
  15. <form{{ attributes.addClass('uk-form-stacked') }}>
  16. {{ children }}
  17. </form>

Add new comment

Filtered HTML

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <blockquote> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.

Log in