#IF(#FormError)

{InputError}

#IF(#OBJECT_EXISTS) {DoubleObject} #ELSIF(#FormErrors.Reason.FeaturePack_AllowMax) {FeaturePack_AllowMax} #ELSE {PleaseCorrectErrors} #ENDIF
#ENDIF #IF(#DELETE)

{Warning}

{AcceptAction}
#LOOP(#DeleteObjects)#ENDLOOP #ENDIF #LOCAL("EnableRemoveButton",0) #IF(#DELETE) #LOOP(#DeleteObjects) #ENDLOOP #ELSE #IF(NOT #COUNT(#FeaturePacks)) #ENDIF #LOOP(#FeaturePacks) #ENDLOOP #ENDIF
{Alias} {Name} {Shops}
#Alias #Name #ActiveShopCount
{NoFeaturePacks}
#Alias #Name #ActiveShopCount#IF(#ActiveShopCount < #ShopCount) (#CALCULATE(#ShopCount - #ActiveShopCount))#ENDIF #IF(#ActiveShopCount > 0)#SET("EnableRemoveButton", 1)#ENDIF
#IF(#DELETE) #ELSE #ENDIF #ENDLOCAL