{namespace neos=Neos\Neos\ViewHelpers}
<html>
    <head>
        <title>Workspaces</title>
        <meta charset="UTF-8"/>
    </head>
    <body>
        <div>
            <h1>Workspaces</h1>
            <ul class="workspaces">
                <f:for each="{workspaces}" key="workspaceName" as="workspace">
                    <li class="workspace">
                        <p><label class="workspace-title">{workspace.title}</label>
                            (<span class="workspace-name">{workspace.name}</span>)
                            based on "<span class="workspace-baseworkspace-name">{workspace.baseWorkspace.name}</span>"
                            <f:if condition="{workspace.readonly}"><span class="workspace-readonly">(read-only)</span></f:if>
                        </p>
                    </li>
                </f:for>
            </ul>
        </div>
    </body>
</html>
