#exportpdf-page

  - $this->pageTitle=Yii::app()->name . ' - Export event'
  - $this->breadcrumbs=array( Yii::t('app', 'Search')=>Yii::app()->createUrl('search'),Yii::t('app', 'Export event' ))
  
  .row.exportpdf-box
    .span4

      %h2= Yii::t('app', 'Export event' )
      %h4= Yii::t('app', 'License plate' ) .': '. $event->Plate
      %h4= Yii::t('app', 'Date' ) .': '. $event->StartTime->format('Y-m-d H:i:s')

      - $form=$this->beginWidget('bootstrap.widgets.TbActiveForm', |
          array(                                                   |
            'id'=>'exportpdf-form',                                |
            'focus' => array($model,$modelfocus),                  |
          )                                                        |
        )                                                          |

      != $form->errorSummary($model)
      != $form->textFieldRow($model,'id', array('class'=>'span4', 'placeholder'=>'event #', 'readonly'=>'readonly'))
      != $form->passwordFieldRow($model,'viewer_password', array('class'=>'span4', 'placeholder'=>'viewer password'))
      != $form->passwordFieldRow($model,'admin_password', array('class'=>'span4', 'placeholder'=>'admin password'))

      - $this->widget('bootstrap.widgets.TbButton', array('buttonType'=>'submit', 'label'=> Yii::t('app', 'Export')))
      - $this->endWidget()

