1<#-- set freemarker locale setting back to the one which is currently used to display the site -->
2<#setting locale = locale>
3
4<#if selectFields.getSiblings()?has_content>
5 <#list selectFields.getSiblings() as selectField>
6 <#if (selectField.selectFieldName.getData())?has_content>
7 <div class="form-content mt-50px custom-form-group-select-field
8 <#if getterUtil.getBoolean(selectField.isMandatorySelect.getData())>required</#if>"
9 name="${selectField.selectFieldName.getData()}">
10 <h3 class="form-content__name custom-form-group-title">
11 ${selectField.selectFieldName.getData()}
12 <#if getterUtil.getBoolean(selectField.isMandatorySelect.getData())>
13 <span class="text-c-red-font d-inline">*</span>
14 <span class="input-wrapper__label--error position-relative d-none">${languageUtil.get(themeDisplay.getLocale(), "event-error-required-field")}</span>
15 </#if>
16 </h3>
17 <#if selectField.optionName.getSiblings()?has_content>
18 <div class="form-content__group">
19 <#list selectField.optionName.getSiblings() as selectField_optionName>
20 <fieldset>
21 <legend class="visually-hidden">${selectField_optionName.getData()}</legend>
22 <div class="row">
23 <div class="col-lg-10 col-md-12 px-2 px-md-3">
24 <label class="form-check__with-bg d-flex justify-content-between mb-3 ">
25 <input type="checkbox" class="form-check__input custom-form-field"
26 value="${selectField_optionName.getData()}">
27 <span class="form-check__label">${selectField_optionName.getData()}</span>
28 <span class="visually-hidden">${selectField_optionName.getData()}</span>
29 </label>
30 </div>
31 </div>
32 </fieldset>
33 </#list>
34 </div>
35 </#if>
36 </div>
37 </#if>
38 </#list>
39</#if>
40
41<#if textFields.getSiblings()?has_content>
42 <#list textFields.getSiblings() as textField>
43 <#if (textField.textFieldName.getData())?has_content>
44 <div class="form-content mt-50px custom-form-group-text-field
45 <#if getterUtil.getBoolean(textField.isMandatoryText.getData())>required</#if>"
46 name="${textField.textFieldName.getData()}">
47 <div class="row">
48 <div class="col-lg-10 col-md-12">
49 <h3 class="form-content__name custom-form-group-title">
50 ${textField.textFieldName.getData()}
51 <#if getterUtil.getBoolean(textField.isMandatoryText.getData())>
52 <span class="text-c-red-font d-inline">*</span>
53 <span class="input-wrapper__label--error position-relative d-none">${languageUtil.get(themeDisplay.getLocale(), "event-error-required-field")}</span>
54 </#if>
55 </h3>
56 <input class="input-wrapper__label--input w-100" type="text" />
57 </div>
58 </div>
59 </div>
60 </#if>
61 </#list>
62</#if>