<h3><?php echo ($model->isNewRecord) ? 'Add New Brand' : 'Edit Brand'; ?></h3>

<?php echo CHtml::beginForm(); ?>

<?php echo CHtml::hiddenField('MasBrands[id]', $model->id); ?>

<div>
    <label>Select Brand</label><br>

    <?php 
    echo CHtml::activeDropDownList(
        $model,
        'brand_name',
        array(
            'Nike' => 'Nike',
            'Adidas' => 'Adidas',
            'Puma' => 'Puma',
            'Reebok' => 'Reebok'
        ),
        array(
            'class'=>'form-control',
            'prompt'=>'-- Select Brand --'
        )
    );
    ?>
</div>

<br><br>

<?php echo CHtml::submitButton('Save', array('class'=>'btn btn-primary')); ?>

<?php echo CHtml::endForm(); ?>