I think there is too much HTML in this view. I suggest moving it to a layouts or to the template but not in the view. Mainly because the view is not overridable as a template or a layout file is.