Only do horizontal if it is a 'form' type
Merge pull request #826 from isometriks/fix-form-horizontal

Only do horizontal if it is a 'form' type