{% extends "_layouts/elementindex" %}
{% set title = "Assets"|t('app') %}
{% set elementType = 'craft\\elements\\Asset' %}

{% do view.registerAssetBundle("craft\\web\\assets\\fileupload\\FileUploadAsset") %}
{% do view.registerAssetBundle("craft\\web\\assets\\prismjs\\PrismJsAsset") %}

{% if defaultSource is defined %}
    {% js %}
        window.defaultSource = "{{ defaultSource|e('js') }}";
    {% endjs %}
{% endif %}
