datetime-form.html.twig in Open Social 8.8
Same filename and directory in other branches
- 8.9 themes/socialbase/templates/form/datetime-form.html.twig
- 8 themes/socialbase/templates/form/datetime-form.html.twig
- 8.2 themes/socialbase/templates/form/datetime-form.html.twig
- 8.3 themes/socialbase/templates/form/datetime-form.html.twig
- 8.4 themes/socialbase/templates/form/datetime-form.html.twig
- 8.5 themes/socialbase/templates/form/datetime-form.html.twig
- 8.6 themes/socialbase/templates/form/datetime-form.html.twig
- 8.7 themes/socialbase/templates/form/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
File
themes/socialbase/templates/form/datetime-form.html.twigView source
- {#
- /**
- * @file
- * 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 template_preprocess_datetime_form()
- *
- * @ingroup templates
- */
- #}
- <div{{ attributes.addClass('form-inline') }}>
- {{ content }}
- </div>