import(crud.tpl, {"type":"region_group"}) @region = [data-v-regions] [data-v-region] @region|deleteAllButFirstChild @region|before = regions) && is_array($this->regions)) { foreach ($this->regions as $region_index => $region) { ?> @region [data-v-region-*]|name = @region [data-v-region-*]|data-v-region-id = $region['region_id'] @region [data-v-region-*]|innerText = $region['@@__data-v-region-(*)__@@'] @region input[data-v-region-*]|value = $region['@@__data-v-region-(*)__@@'] @region a[data-v-region-*]|href = $region['@@__data-v-region-(*)__@@'] @region|after = @country = [data-v-countries] [data-v-country] @country|deleteAllButFirstChild @country|before = countries) && is_array($this->countries)) { foreach ($this->countries as $country_index => $country) {?> [data-v-country-*]|innerText = $country['@@__data-v-country-(*)__@@'] option[data-v-country-*]|value = $country['@@__data-v-country-(*)__@@'] @country|addNewAttribute = @country|after =