<div class="form">

<?php $form=$this->beginWidget('ext.PlGrid.PlActiveForm', array(
    'id'=>'licence-form',
    'gridId'=>'licence-grid',
    'displayProgressBar'=>true,
    'enableAjaxValidation'=>false,
    'htmlOptions' => array('enctype' => 'multipart/form-data'),
)); ?>

    <!--<p class="note">Fields with <span class="required">*</span> are required.</p>-->

    <div class="row">
        <?php //echo $form->labelEx($model,'data'); ?>
        <?php echo $form->fileField($model,'data', array('data-translation-id'=>'LICENCE_MODEL_REQUIRED_ERROR_MESSAGE')); ?>
        <?php echo $form->error($model,'data'); ?>
    </div>

<?php $this->endWidget(); ?>

</div><!-- form --> 