- $hourList   = DateHelper::hourList();
- $minuteList = DateHelper::minuteList()
#plate-authorization-page
  .page-header
    %h2
      = Yii::t('app', 'New Authorization')
  .row
    .sidebar.span4
      - $form = $this->beginWidget('bootstrap.widgets.TbActiveForm', |
        array(                                                       |
          'type' => 'horizontal',                                    |
          'action' => array('/plateAuthorization/addAuthorization/'),             |
          'htmlOptions' => array(                                    |
            'id' => 'plate-authorization-form',                      |
          ),                                                         |
        ))                                                           |
      #plate-authorization-data.row
        .span4

          %fieldset
            .plate-authorization-container
              != $form->textFieldRow($plateAuthorization, 'plates', array('class' => 'span2 touppercase'))
            .startdatetime-authorization-container
              != $form->textFieldRow($plateAuthorization, 'startTimestamp', array('id' => 'startDate', 'class' => 'span2 date-picker'))
              != CHtml::dropDownList('hourStart','',   $hourList, array('class' => 'span1'))
              != CHtml::dropDownList('minuteStart','', $minuteList, array('class' => 'span1'))
            
            != $form->textFieldRow($plateAuthorization, 'endTimestamp', array('id' => 'endDate', 'class' => 'span2 date-picker'))              

 
 
 
 
      - $this->endWidget()
      
      %button#save-btn.btn(type="button" data-confirm-text="#{Yii::t('app', 'Confirm')}"
      data-form-action=Yii::app()->createUrl('plateAuthorization/addAuthorization/')
      data-target="#plate-authorization-form")= Yii::t('app', 'Create')