fix(ui): fix field name corruption (country_to_from -> country_from) and ensure all flag displays show country code
This commit is contained in:
@@ -32,7 +32,7 @@
|
||||
</div>
|
||||
|
||||
<label>{{ 'pc_form.country_from'|t(user.language) }}</label>
|
||||
<input type="text" name="country_from" id="input-country-from" value="{{ postcard.country_to_from if postcard and postcard.country_to_from else (profile.country if profile else '') }}" maxlength="2" style="width:80px;text-transform:uppercase" oninput="this.value=this.value.toUpperCase()">
|
||||
<input type="text" name="country_from" id="input-country-from" value="{{ postcard.country_from if postcard and postcard.country_from else (profile.country if profile else '') }}" maxlength="2" style="width:80px;text-transform:uppercase" oninput="this.value=this.value.toUpperCase()">
|
||||
|
||||
<label>{{ 'pc_form.country'|t(user.language) }} *</label>
|
||||
<input type="text" name="country_to" id="input-country-to" value="{{ postcard.country_to if postcard else '' }}" maxlength="2" placeholder="JP" style="width:80px;text-transform:uppercase" oninput="this.value=this.value.toUpperCase()">
|
||||
|
||||
Reference in New Issue
Block a user