Update main.php
refactored ActiveField.
Merge remote-tracking branch 'yii-app/master'