Files
sterivein/templates/backOffice/default/coupon/condition-fragments/countries-condition.html
2014-08-04 19:26:21 +02:00

15 lines
798 B
HTML

{default_translation_domain domain='bo.default'}
<div class="form-group">
<label for="operator">{$countryLabel}</label>
{$operatorSelectHtml nofilter}
</div>
<div class="form-group">
<label for="{$countries_field_name}-value">{intl l="The selected countries :"}</label>
<select required multiple size="5" class="form-control" id="{$countries_field_name}-value" name="{$countries_field_name}[value][]">
{loop type="country" name="list-of-countries" order="alpha" backend_context=1}
<option style="padding-left: {$LEVEL * 20}px" value="{$ID}" {if in_array($ID, $values)}selected="selected"{/if}>{$TITLE}</option>
{/loop}
</select>
<span class="label-help-block">{intl l='Use Ctrl+click to select (or deselect) more that one country'}</span>
</div>