don't write HTML in views please create a function in a template for this (whatever template is used in this file).