#BLOCK("WITH_FORM_ERROR",#FormError)
#IF(#DELETE)

{AcceptAction1}

{AcceptAction2} #LOOP(#DeleteObjects) #ENDLOOP
#ELSE #IF(#FeatureMaxRegionsReached)

{Notification}

{CouldNotCreateRegions}
{FeatureMaxValueRegions} #Shop.FeatureMaxValue.Regions #INCLUDE("FeaturePromotion")
#ELSIF(#COUNT(#Regions) >= #Shop.FeatureMaxValue.Regions)

{Notification}

{FeatureMaxRegionsReached}
{FeatureMaxValueRegions} #Shop.FeatureMaxValue.Regions
#ENDIF #ENDIF #IF(NOT #DELETE)
{RegionsInfoBox}
#SNIPPET("INC-BatchActions", "BatchActions", "BatchActions") #REM #ENDREM #REM #ENDREM #IF(#FormError) #ENDIF #ENDIF #IF(#DELETE) #LOOP(#DeleteObjects) #ENDLOOP #ELSE #LOOP(#Regions) #ENDLOOP #IF(NOT #COUNT(#Regions)) #ENDIF #ENDIF
{Region} {SelectedCountries}
#NameOrAlias #IF(#COUNT(#Countries)) #JOIN(", ", #SORT(#Countries, "Native"), 0, 4)#Native#ENDJOIN#IF(#COUNT(#Countries) NGT 5), ...#ENDIF #ELSE {EmptyRegionNote} #ENDIF
#NameOrAlias #IF(#COUNT(#Countries)) #JOIN(", ", #SORT(#Countries, "Native"), 0, 4)#Native#ENDJOIN#IF(#COUNT(#Countries) NGT 5), ...#ENDIF #ELSE {EmptyRegionNote} #ENDIF
{RegionsTableEmptyState}
#IF(#DELETE) #ENDIF
#ENDBLOCK
#IF(NOT #DELETE) #ENDIF