{% extends "_components/fieldtypes/elementfieldsettings" %} {% import "_includes/forms" as forms %} {% set fileKindOptions = field.getFileKindOptions() %} {% set isMatrix = 'craft\\fields\\Matrix' in craft.app.view.getNamespace() %} {% 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 %}