file datetime-form.html.twig

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.

See Also

  • template_preprocess_datetime_form()
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 templates
  13. */
  14. #}
  15. <div{{ attributes.addClass('container-inline', 'form-inline') }}>
  16. {{ content }}
  17. </div>

Related topics