#IF(#DELETE)
{AcceptAction1}
{AcceptAction2}
#ENDIF
#IF(#FormError)
{InputError}
#IF(#OBJECT_EXISTS)
{ObjectExists}
#ELSE
{PleaseCorrectErrors}
#ENDIF
#ENDIF
#WITH_ERROR(#FormError)
#IF(#DELETE)
#ELSE
#IF(#Session.User.DeleteConfirmation)
#ELSE
#ENDIF
#ENDIF
#IF(NOT #DELETE)