<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" data-namespace-typo3-fluid="true">
<cal:calendar.hasPermission calendar="{calendar}" permission="team">
    <f:then>
        <f:render partial="Event/FullCalendar/FormFieldsAdmin" arguments="{_all}" />
    </f:then>
    <f:else>
        <f:render partial="Event/FullCalendar/FormFieldsUser" arguments="{_all}" />
    </f:else>
</cal:calendar.hasPermission>

</html>
