<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" xmlns:cal="http://typo3.org/ns/Ig/IgReservations/ViewHelpers" xmlns:core="http://typo3.org/ns/TYPO3/CMS/Core/ViewHelpers"
    xmlns:dp="http://typo3.org/ns/Internetgalerie/IgDatapoolFe/ViewHelpers" data-namespace-typo3-fluid="true">
<f:layout name="Default" />

<f:section name="content">
    <f:form class="form-kontakt dp-form" action="updateTeammember" name="event" object="{event}">
        <div class="ym-grid block-left">
            <f:spaceless>
                <div>
                    <f:form.hidden property="status" value="{settings.notAvailableStatus}" />
                </div>
                <div class="ym-g100 ig-inline frame-space-after-small">
                    <div class="selectIeFix">
                        <p>{f:translate(key: 'tx_igreservations_domain_model_event.owner')}</p>
                        <f:form.select class="select2 form-control" errorClass="error" property="owner" options="{users}" optionLabelField="usernameAndName"
                            prependOptionLabel="" prependOptionValue="" />
                    </div>
                </div>
                <div class="ym-g100 ig-inline">
                    <p>Teammitglieder zuweisen</p>
                    <dp:form.multiselect property="teammembers" options="{users}" optionLabelField="usernameAndName" sorting="1" />
                </div>
                <div class="ym-g100 ig-inline">
                    <f:form.submit value="{f:translate(key: 'events.assign_user')}" />
                </div>
                <div class="ym-g100 ig-inline back-link frame-space-before-small">
                    <f:link.action action="show" arguments="{event: event}">
                        <f:translate key="events.back_to_event" />
                    </f:link.action>
                </div>
            </f:spaceless>
        </div>
    </f:form>
</f:section>

</html>
