title: What should I prefer to use widget or renderPartial in Yii's view?
body: <p>I am confused when I should use a custom widget or renderPartial in my view files. Sometimes I use widget and sometimes I use renderPartial.</p>