[TASK] Remove old language labels in EXT:setup
[Packages/TYPO3.CMS.git] / typo3 / sysext / form / Resources / Private / Partials / Default / PostProcessor / Mail / Html / FlatElements / Select.html
1 {namespace form=TYPO3\CMS\Form\ViewHelpers}
2 <f:if condition="{model.showElement}">
3 <tr class="csc-form-{model.elementCounter} csc-form-element csc-form-element-{model.elementTypeLowerCase}">
4 <td style="width: 200px;">
5 {f:render(partial: 'AdditionalElements/Label', arguments: {model: model})}
6 </td>
7 <td>
8 <f:for each="{form:aggregateSelectOptions(model:model)}" as="option">
9 <f:if condition="{option.options}">
10 <f:then>
11 <f:for each="{option.options}" as="optgroupOption">
12 <f:if condition="{optgroupOption.selected}">
13 <div class="csc-form-element csc-form-element-{model.elementTypeLowerCase}">{optgroupOption.label}</div>
14 </f:if>
15 </f:for>
16 </f:then>
17 <f:else>
18 <f:if condition="{option.selected}">
19 <div class="csc-form-element csc-form-element-{model.elementTypeLowerCase}">{option.label}</div>
20 </f:if>
21 </f:else>
22 </f:if>
23 </f:for>
24 </td>
25 </tr>
26 </f:if>