!!!

- $app = Yii::app()
- $baseUrl = $app->request->baseUrl

%html
  %head
    %meta(http-equiv="Content-type" content="text/html; charset=UTF-8")
    %meta(name="viewport" content="width=device-width, initial-scale=1.0")
    - $app->bootstrap->register() #it must be before %title
    %title= $this->pageTitle
    %link(rel="stylesheet" type="text/css" href="#{$baseUrl}/css/application.min.css")
    %link(rel="shortcut icon" href="#{$baseUrl}/favicon.ico")

    %script
      var settings = {         |
        baseUrl: "#{$baseUrl}" |
        }                      |

    /[if lt IE 9]
      %script(type="text/javascript" src="/js/html5shiv.js")
      %script(type="text/javascript" src="/js/respond.min.js")

    %script(type="text/javascript" src="#{$baseUrl}/js/application.min.js")

  %body.violation-document-preview
    .container
      #content
        != $content
