4 * Theme override for an individual form element.
6 * Available variables for all fields:
7 * - multiple: Whether there are multiple instances of the field.
9 * Available variables for single cardinality fields:
10 * - elements: Form elements to be rendered.
12 * Available variables when there are multiple fields.
13 * - table: Table of field items.
14 * - description: The description element containing the following properties:
15 * - content: The description content of the form element.
16 * - attributes: HTML attributes to apply to the description container.
17 * - button: "Add another item" button.
19 * @see template_preprocess_field_multiple_value_form()
23 <div class="js-form-item form-item">
25 {% if description.content %}
26 <div{{ description.attributes.addClass('description') }} >{{ description.content }}</div>
29 <div class="clearfix">{{ button }}</div>
33 {% for element in elements %}