.modal-header
  %button.close(type="button" data-dismiss="modal" aria-hidden="true")
    &times;
  %h3= Yii::t('app', 'Suggested violation articles')
.modal-body
  %p= Yii::t('app', 'Click on the right violation code')
  %table.table.table-condensed
    %thead
      %tr
        %th= Yii::t('app', 'Code')
        %th= Yii::t('app', 'Description')
    %tbody
    - foreach($violationCodes as $violationCode)
      %tr(data-code=$violationCode->name data-description=$violationCode->description)
        %td.code= $violationCode->name
        %td.description= $violationCode->description
.modal-footer
  %button.btn(type="button" data-dismiss="modal" aria-hidden="true")= Yii::t('app', 'Cancel')
  %input(type="hidden" name="eventBehaviorID" value="#{$eventBehavior->ID}")
  %input(type="hidden" name="violationCode" value="")
  %input(type="hidden" name="violationCodeDescription" value="")
  %button#confirm-suggested-violation-code.btn.btn-danger(type="button")=Yii::t('app', 'OK')
