Don't generate manual html tags in the view function, if possible.