yiisoft/yii2 — pull request #170 by mintao (2013-05-07 19:38:37+00:00)
Title: Mark required model attributes as required input fields in HTML

The HTML helper for active input fields should automatically mark required fields. Therefore I've extended the HTML helper methods and wrote tests for every case.