{% extends "_components/fieldtypes/elementfieldsettings" %} {% import "_includes/forms" as forms %} {% set fileKindOptions = field.getFileKindOptions() %} {% set isMatrix = craft.app.view.getNamespace()[0:26] == 'types[Matrix][blockTypes][' %} {% macro uploadLocationInput(name, field, inputSourceOptions) %} {% from "_includes/forms" import select, text %}
{slug} or {author.username}."|t('app') %}
{% if isMatrix %}
{% set uploadLocationNote = uploadLocationNote|replace({
'{slug}': '{owner.slug}',
'{author.username}': '{owner.author.username}'
}) %}
{% endif %}