scope form keys and labels to horizontal and create form classes