1d6cba8b6a6f70c17dccc726579f446d2c097fa3
[Packages/TYPO3.CMS.git] / typo3 / sysext / form / Resources / Private / Partials / Default / PostProcessor / Mail / Plain / FlatElements / Select.html
1 {namespace form=TYPO3\CMS\Form\ViewHelpers}<f:if condition="{model.showElement}"><form:plainMail labelContent="{model}" newLineAfterLabel="1" indent="4" /><f:for each="<form:aggregateSelectOptions model='{model}' />" as="option"><f:if condition="{option.options}"><f:then><f:for each="{option.options}" as="optgroupOption"><f:if condition="{optgroupOption.selected} == 'selected'"><form:plainMail content="{optgroupOption.value}" />
2 </f:if></f:for></f:then><f:else><f:if condition="{option.selected} == 'selected'"><form:plainMail content="{option.value}" />
3 </f:if></f:else></f:if></f:for><form:plainMail indent="-4"/></f:if>