Skip to content
Snippets Groups Projects
Commit 0e99d32b authored by Kevin Ditscheid's avatar Kevin Ditscheid
Browse files

[TASK] Add empty options for nationality and country

parent 642fd503
No related branches found
No related tags found
No related merge requests found
......@@ -174,6 +174,10 @@
<source>Country *</source>
<target>Land *</target>
</trans-unit>
<trans-unit id="frontend.apply.country.empty">
<source>Please choose</source>
<target>Bitte wählen</target>
</trans-unit>
<trans-unit id="frontend.apply.cover_letter" approved="yes">
<source>Cover letter *</source>
<target>Motivationsschreiben *</target>
......@@ -234,6 +238,10 @@
<source>Nationality *</source>
<target>Nationalität *</target>
</trans-unit>
<trans-unit id="frontend.apply.nationality.empty">
<source>Please choose</source>
<target>Bitte wählen</target>
</trans-unit>
<trans-unit id="frontend.apply.phone" approved="yes">
<source>Phone *</source>
<target>Telefon *</target>
......
......@@ -132,6 +132,9 @@
<trans-unit id="frontend.apply.country">
<source>Country *</source>
</trans-unit>
<trans-unit id="frontend.apply.country.empty">
<source>Please choose</source>
</trans-unit>
<trans-unit id="frontend.apply.cover_letter">
<source>Cover letter *</source>
</trans-unit>
......@@ -177,6 +180,9 @@
<trans-unit id="frontend.apply.nationality">
<source>Nationality *</source>
</trans-unit>
<trans-unit id="frontend.apply.nationality.empty">
<source>Please choose</source>
</trans-unit>
<trans-unit id="frontend.apply.phone">
<source>Phone *</source>
</trans-unit>
......
......@@ -145,7 +145,13 @@
<div class="form-group">
<label for="apply-country"><f:translate key="frontend.apply.country" /></label>
<f:form.select property="country" id="apply-country" class="form-control" options="{countries}" optionLabelField="{f:if(condition: '{sysLanguageUid} == 0', then: 'shortNameDe', else: 'shortNameEn')}" optionValueField="{f:if(condition: '{sysLanguageUid} == 0', then: 'shortNameDe', else: 'shortNameEn')}" />
<f:form.select property="country"
id="apply-country"
class="form-control"
options="{countries}"
optionLabelField="{f:if(condition: '{sysLanguageUid} == 0', then: 'shortNameDe', else: 'shortNameEn')}"
optionValueField="{f:if(condition: '{sysLanguageUid} == 0', then: 'shortNameDe', else: 'shortNameEn')}"
prependOptionLabel="{f:translate(key:'frontend.apply.country.empty')}" />
<f:form.validationResults for="applyData.country">
<ul class="sg-jobs-validation-error parsley-errors-list filled">
<f:for each="{validationResults.errors}" as="error">
......@@ -157,7 +163,13 @@
<div class="form-group">
<label for="apply-nationality"><f:translate key="frontend.apply.nationality" /></label>
<f:form.select property="nationality" id="apply-nationality" class="form-control" options="{countries}" optionLabelField="{f:if(condition: '{sysLanguageUid} == 0', then: 'shortNameDe', else: 'shortNameEn')}" optionValueField="{f:if(condition: '{sysLanguageUid} == 0', then: 'shortNameDe', else: 'shortNameEn')}" />
<f:form.select property="nationality"
id="apply-nationality"
class="form-control"
options="{countries}"
optionLabelField="{f:if(condition: '{sysLanguageUid} == 0', then: 'shortNameDe', else: 'shortNameEn')}"
optionValueField="{f:if(condition: '{sysLanguageUid} == 0', then: 'shortNameDe', else: 'shortNameEn')}"
prependOptionLabel="{f:translate(key:'frontend.apply.nationality.empty')}" />
<f:form.validationResults for="applyData.nationality">
<ul class="sg-jobs-validation-error parsley-errors-list filled">
<f:for each="{validationResults.errors}" as="error">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment