[eluser]TheFuzzy0ne[/eluser]
Whatever makes you happy. Your library works, it keeps database calls out of the controller, and it serves a very specific purpose. It would probably be a pain in the behind to split up such a small amount of code into a model and a view. I think that so long as it's you working on the code (and you don't have an HTML designer), you've done the right thing.
One thing though, you have a typo: You've typed "Caneled" instead of "Cancelled".