%form.form-modal(method="post" action="#{Yii::app()->createUrl('paySlip/create')}")
  .modal-header
    %button.close(type="button" data-dismiss="modal" aria-hidden="true")
      &times;
    %h3
      = Yii::t('app', 'Confirmation - Task #{workperiod-id}', array('{workperiod-id}' => $workPeriodID))
  .modal-body
    - if(!$workPeriodClosed)
      .alert
        %strong
          =t('Warning')
      =t('System will automatically logout.')
    %p 
      =t('Do you want to proceed with slip generation?')
  .modal-footer
    %button.btn(type="button" data-dismiss="modal" aria-hidden="true") Annulla
    %input(type="hidden" name="workPeriodID" value=$workPeriodID)
    %button.btn.btn-danger(type="submit")
      =t("Generate")
