commit c8d2f8373829b91cb5f56897eecf62fb215fe71f Author: Joel Pittet Date: Wed Apr 17 17:46:07 2013 -0700 whitespace mod indent and doc cleanup diff --git a/core/modules/block/custom_block/custom_block.pages.inc b/core/modules/block/custom_block/custom_block.pages.inc index db9b54c..6d945f7 100644 --- a/core/modules/block/custom_block/custom_block.pages.inc +++ b/core/modules/block/custom_block/custom_block.pages.inc @@ -40,7 +40,7 @@ function custom_block_add_page() { } /** - * Prepares variables for a list of custom block types for block creation. + * Prepares variables for a custom block type creation list templates. * * Default template: custom-block-add-list.html.twig. * diff --git a/core/modules/block/custom_block/templates/custom-block-add-list.html.twig b/core/modules/block/custom_block/templates/custom-block-add-list.html.twig index 0d82724..2878da2 100644 --- a/core/modules/block/custom_block/templates/custom-block-add-list.html.twig +++ b/core/modules/block/custom_block/templates/custom-block-add-list.html.twig @@ -5,9 +5,9 @@ * * Available variables: * - types: A collection of all the available custom block types. - * - type: The custom block type. Each block type contains the following: - * - link: A link to add a block of this type. - * - description: A description of this custom block type. + * Each block type contains the following: + * - link: A link to add a block of this type. + * - description: A description of this custom block type. * * @see template_preprocess() * @see template_preprocess_custom_block_add_list() @@ -16,10 +16,10 @@ */ #} {% spaceless %} -
- {% for type in types %} -
{{ type.link }}
-
{{ type.description }}
- {% endfor %} -
+
+ {% for type in types %} +
{{ type.link }}
+
{{ type.description }}
+ {% endfor %} +
{% endspaceless %}