Fixed issues introduced during HAML conversion.

- Fixed syntax error in HAML views.
- Checkboxes in the options boxes were not sending up transaction fixed those as well.
Merge pull request #835 from h-kataria/haml_typo_fixed

Fixed issues introduced during HAML conversion.