You are here

datetime-form.html.twig in Drupal 9

Theme override 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/themes/seven/templates/classy/form/datetime-form.html.twig
View source
  1. {#
  2. /**
  3. * @file
  4. * Theme override 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. #}
  13. <div{{ attributes.addClass('container-inline') }}>
  14. {{ content }}
  15. </div>