30, 'maxlength'=>100)); ?>
'form-control', 'placeholder'=>'Enter Password')); ?>When using Yii with Bootstrap, you can add Bootstrap classes to your form fields. In this example, the `form-control` class is added to the password field to give it styling in accordance with Bootstrap. The `placeholder` attribute is also added to show a text hint inside the field. Overall, the CHtml activePasswordField is a useful tool for adding a secure password field to your forms through PHP.