"Fossies" - the Fresh Open Source Software Archive

Member "drupal-8.9.10/core/themes/claro/templates/content-edit/file-widget-multiple.html.twig" (26 Nov 2020, 561 Bytes) of package /linux/www/drupal-8.9.10.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) HTML source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 {#
    2 /**
    3  * @file
    4  * Theme override to display a multiple file upload form widget.
    5  *
    6  * Available variables:
    7  * - table: Table of previously uploaded files.
    8  * - element: The form element for uploading another file.
    9  * - has_table: True when the table is not empty AND can be accessed.
   10  *
   11  * @see template_preprocess_file_widget_multiple()
   12  * @see claro_preprocess_file_widget_multiple()
   13  */
   14 #}
   15 <div class="file-widget-multiple{{ has_table ? ' has-table' }}">
   16   <div class="file-widget-multiple__table-wrapper">
   17     {{ table }}
   18     {{ element }}
   19   </div>
   20 </div>