You are here

datetime-form.html.twig in Drupal 10

Default theme implementation of a datetime form element.

Available variables:

  • attributes: HTML attributes for the datetime form element.
  • content: The datelist form element to be output.

File

core/modules/system/templates/datetime-form.html.twig
View source
  1. {#
  2. /**
  3. * @file
  4. * Default theme implementation of a datetime form element.
  5. *
  6. * Available variables:
  7. * - attributes: HTML attributes for the datetime form element.
  8. * - content: The datelist form element to be output.
  9. *
  10. * @see template_preprocess_datetime_form()
  11. *
  12. * @ingroup themeable
  13. */
  14. #}
  15. <div{{ attributes }}>
  16. {{ content }}
  17. </div>

Related topics