Update to drupal 8.0.0-rc1. For more information, see https://www.drupal.org/node/2582663

This commit is contained in:
Greg Anderson 2015-10-08 11:40:12 -07:00
parent eb34d130a8
commit f32e58e4b1
8476 changed files with 211648 additions and 170042 deletions

View file

@ -11,7 +11,9 @@
*
* Available variables when there are multiple fields.
* - table: Table of field items.
* - description: Description text for the form element.
* - description: The description element containing the following properties:
* - content: The description content of the form element.
* - attributes: HTML attributes to apply to the description container.
* - button: "Add another item" button.
*
* @see template_preprocess_field_multiple_value_form()
@ -20,10 +22,10 @@
*/
#}
{% if multiple %}
<div class="form-item">
<div class="js-form-item form-item">
{{ table }}
{% if description %}
<div class="description">{{ description }}</div>
{% if description.content %}
<div{{ description.attributes.addClass('description') }} >{{ description.content }}</div>
{% endif %}
{% if button %}
<div class="clearfix">{{ button }}</div>