<div class="modal-header">
    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
    <h4 class="modal-title">{$oCssVatSelect->getLocalization()->getTranslation('css_vatSelect_modal_zone_headline')}</h4>
</div>
<div class="modal-body">
	{$cssFlagUrl = $iCssVatSelect->getPluginURL()|cat:'/flags/4x3/'}

    <div class="css-tax-flex-container">
        {foreach from=$cssTaxZones item=oTaxZone name='taxzones'}
            {if $cssVatSelectConfig->TaxZoneShow[$oTaxZone->kSteuerzone]=='Y'}
                {if !empty({$cssVatSelectConfig->TaxZoneLanguage[$oTaxZone->kSteuerzone][$smarty.session.kSprache]})}
                    <div class="col-xs-12 col-sm-6 col-md-4">
                        <a href='#'
                           data-io="{$iCssVatSelect->getShopIoLink()}"
                           class="css-link-steuerzone" data-tax-country=""
                           data-tax-zone="{$oTaxZone->kSteuerzone}">
                            {if !empty($cssVatSelectConfig->TaxZoneIcon[$oTaxZone->kSteuerzone])}
                            <img width="27" height="20"
                                                                         src="{$cssFlagUrl}{$cssVatSelectConfig->TaxZoneIcon[$oTaxZone->kSteuerzone]}"
                                                                         alt="{$cssVatSelectConfig->TaxZoneLanguage[$oTaxZone->kSteuerzone][$smarty.session.kSprache]}">
                            {/if}
                            {$cssVatSelectConfig->TaxZoneLanguage[$oTaxZone->kSteuerzone][$smarty.session.kSprache]}
                        </a>
                    </div>
                {/if}
            {/if}
        {/foreach}
    </div>

    <div class="row mt-3">
        <div class="col col-xs-12">
            {$oCssVatSelect->getLocalization()->getTranslation('css_vatSelect_modal_zone_info')}
        </div>
    </div>
</div>
<div class="modal-footer">
    <button type="button" class="btn btn-danger mt-2" data-dismiss="modal">{$oCssVatSelect->getLocalization()->getTranslation('css_vatSelect_modal_close')}</button>
</div>

