select correct country in selectbox on customer edit page

This commit is contained in:
Manuel Raynaud
2013-10-28 15:42:34 +01:00
parent 23c4a14d2c
commit 1c3aeb969d

View File

@@ -124,7 +124,7 @@
<label for="{$label_attr.for}" class="control-label">{intl l="{$label}"} : </label>
<select name="{$name}" id="{$label_attr.for}" class="form-control">
{loop type="country" name="country1"}
<option value="{$ID}">{$TITLE}</option>
<option value="{$ID}" {if $ID == $COUNTRY}selected{/if}>{$TITLE}</option>
{/loop}
</select>
</div>