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

{InputError}

#IF(#OBJECT_EXISTS) {ObjectExists} #ELSE {PleaseCorrectErrors} #ENDIF

#ENDIF #IF(#DELETE)

{AcceptAction1}

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

{Notification}

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

{Notification}

{FeatureMaxValueReached}
{FeatureMaxValueRegions} #Shop.FeatureMaxValue.Regions #INCLUDE("FeaturePromotion")
#ENDIF #ENDIF #IF(#DELETE) #LOOP(#DeleteObjects) #ENDLOOP #ELSE #LOOP(#Regions) #ENDLOOP #ENDIF
{Region}
#IF (#COUNT(#Countries)) #NameOrAlias #ELSE #NameOrAlias #ENDIF
#IF (#COUNT(#Countries)) #NameOrAlias #ELSE #NameOrAlias #ENDIF  #IF(#COUNT(#Countries)) (#JOIN(", ", #Countries, 0, 2)#Native#ENDJOIN#IF(#COUNT(#Countries) NGT 3), ...#ENDIF) #ELSE  {EmptyRegionNote} #ENDIF
= #Shop.FeatureMaxValue.Regions)disabled="disabled" class="Disabled"#ENDIF />
#IF(#DELETE) #ELSE #IF(#COUNT(#Regions)) #ENDIF #ENDIF
#IF(NOT #DELETE)

{RelatedTopics}

#ENDIF #ENDBLOCK