diff --git a/Resources/Private/Templates/Joblist/ApplyForm.html b/Resources/Private/Templates/Joblist/ApplyForm.html index 170e15937dfd9999f4cbbc9964f5cfc8ab81d172..fde80cc959edc8a93ae9093dc79c7811d5a5179c 100644 --- a/Resources/Private/Templates/Joblist/ApplyForm.html +++ b/Resources/Private/Templates/Joblist/ApplyForm.html @@ -376,13 +376,11 @@ <label for="apply-country" class="smart-label"> <f:translate key="frontend.apply.country"/> </label> - <f:form.select - value="{f:if(condition: '{sysLanguageUid} == 0', then: 'Deutschland', else: 'Germany')}" - property="country" id="apply-country" class="form-control" - options="{countries}" - optionLabelField="{f:if(condition: '{sysLanguageUid} == 0', then: 'cnShortDe', else: 'cnShortEn')}" - optionValueField="{f:if(condition: '{sysLanguageUid} == 0', then: 'cnShortDe', else: 'cnShortEn')}" - /> + <f:form.countrySelect + value="DE" + property="country" + id="apply-country" + class="form-control" /> <f:form.validationResults for="applyData.country"> <ul class="sg-jobs-validation-error parsley-errors-list filled"> <f:for each="{validationResults.errors}" as="error"> @@ -398,12 +396,11 @@ <label for="apply-nationality" class="smart-label"> <f:translate key="frontend.apply.nationality"/> </label> - <f:form.select - value="{f:if(condition: '{sysLanguageUid} == 0', then: 'Deutschland', else: 'Germany')}" - property="nationality" id="apply-nationality" class="form-control" options="{countries}" - optionLabelField="{f:if(condition: '{sysLanguageUid} == 0', then: 'cnShortDe', else: 'cnShortEn')}" - optionValueField="{f:if(condition: '{sysLanguageUid} == 0', then: 'cnShortDe', else: 'cnShortEn')}" - /> + <f:form.countrySelect + value="DE" + property="nationality" + id="apply-nationality" + class="form-control" /> <f:form.validationResults for="applyData.nationality"> <ul class="sg-jobs-validation-error parsley-errors-list filled"> <f:for each="{validationResults.errors}" as="error">