Default country set in customer creation

This commit is contained in:
Riotteau
2014-08-13 14:30:52 +02:00
committed by root
parent aa92585794
commit 531536ab06

View File

@@ -297,7 +297,7 @@
<label for="{$label_attr.for}" class="control-label">{$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 $IS_DEFAULT}selected{/if}>{$TITLE}</option>
{/loop}
</select>
</div>
@@ -365,4 +365,4 @@
{block name="javascript-last-call"}
{module_include location='customers-js'}
{/block}
{/block}