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

<f:section name="content">
    <div class="ig-reservations-user-management">
        <div class="ig-reservations-new-user frame-space-after-small">
            <f:link.action class="link-button" action="new"><core:icon identifier="actions-add" size="small" alternativeMarkupIdentifier="inline" />&nbsp;Neuer Standort erstellen</f:link.action>
        </div>
        <table class="ce-table ce-table-striped">
            <f:for each="{locations}" as="location">
                <tr>
                    <td>{location.name}</td>
                    <td class="right">
                        <f:link.action class="link-button" action="edit" arguments="{location: location}"><core:icon identifier="actions-open" size="small" alternativeMarkupIdentifier="inline" />&nbsp;Bearbeiten</f:link.action>
                        <f:link.action
                            class="calendar-confirm link-button"
                            action="delete"
                            arguments="{location: location}"
                            data="{confirm-title: 'Eintrag wirklich löschen?',  confirm-content: '{location.name}'}">
                            <core:icon identifier="actions-delete" size="small" alternativeMarkupIdentifier="inline" />&nbsp;Löschen
                        </f:link.action>
                    </td>
                </tr>
            </f:for>
        </table>
    </div>
</f:section>

</html>
