<html
    xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers"
    xmlns:core="http://typo3.org/ns/TYPO3/CMS/Core/ViewHelpers"
    data-namespace-typo3-fluid="true"
>

<div class="form-row-md">
    <f:if condition="{f:count(subject: allTemplatesOnPage)} > 1">
        <div class="form-group">
            <form action="{f:be.uri(route: 'typoscript_active', parameters: '{id: pageUid}')}" method="post">
                <label class="form-label" for="selectedTemplate">
                    <f:translate key="