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

<f:if condition="{cookieWarning}">
    <f:render partial="CookieWarning"/>
</f:if>

<h3>
    <f:render partial="RenderLabelOrMessage" arguments="{key: 'status_header'}"/>
</h3>
<p>
    <f:render partial="RenderLabelOrMessage" arguments="{key: 'status_message'}"/>
</p>

<f:form action="login" actionUri="{actionUri}" target="_top" fieldNamePrefix="">
    <fieldset>
        <legend>
            <f:translate key="logout"/>
        </legend>
        <div class="form-group">
            <label class="sr-only"><f:translate key="username"/></label>
            <f:form.textfield name="user" placeholder="{f:translate(key: 'username')}" class="form-control" readonly="true" value="{user.username}"/>

        </div>
        <div class="form-group">
            <f:form.submit value="{f:translate(key: 'logout')}" name="submit"/>
        </div>

        <div class="felogin-hidden">
            <f:form.hidden name="logintype" value="logout"/>
            <f:form.hidden name="pid" value="{storagePid}"/>
        </div>
    </fieldset>
</f:form>
</html>
