As far as I know HTML conventions are different than ruby conventions in HTML there should not be any spaces but in ruby there should be
but the line you commented at has an HTML convention error in class = "icon glyphicon......
there is a space after and before =