Refactored 2 forms in visualize to use CHtml::form().