Files
myep-team/templates/_partials/_back_link.html.twig
T

9 lines
456 B
Twig

{#
The link back to where a page was opened from, always first in the content, above the title.
Expects `url`; `label` defaults to "zurück" and may name the destination ("zurück zur Matrix").
#}
<a href="{{ url }}" class="inline-flex items-center gap-x-1 pb-4 text-sm font-bold text-brand hover:text-brand-dark"{{ qa_attribute('back-link') }}>
{{ icon('arrow-left', 'w-4 h-4 shrink-0') }}
<span>{{ label|default('zurück') }}</span>
</a>