Tab space format

Looking around the code I had to fix the mix of spaces and tabs and formatting :smile_cat: I also found a missing </div> at view/index.html