correct indentation and unclosed tag

I have been correcting indentation error.

You have in a lot of views, tags unclosed, I closed them but I'm not sure is the result is what you are expecting.