vendor/easycorp/easyadmin-bundle/src/Resources/views/includes/_css_assets.html.twig line 1

Open in your IDE?
  1. {# @var assets \EasyCorp\Bundle\EasyAdminBundle\Dto\AssetDto[] #}
  2. {% for css_asset in assets %}
  3.     {% if css_asset.preload %}
  4.         <link rel="preload" href="{{ ea_call_function_if_exists('preload', asset(css_asset.value, css_asset.packageName), { as: 'style', nopush: css_asset.nopush }) }}"
  5.         {% for attr, value in css_asset.htmlAttributes %}{{ attr }}="{{ value|e('html_attr') }}" {% endfor %}>
  6.     {% else %}
  7.         <link rel="stylesheet" href="{{ asset(css_asset.value, css_asset.packageName) }}"
  8.         {% for attr, value in css_asset.htmlAttributes %}{{ attr }}="{{ value|e('html_attr') }}" {% endfor %}>
  9.     {% endif %}
  10. {% endfor %}