소스 검색

Merge pull request #1639 from nicolas-bastien/patch-1

Add a new html_attributes to work with angular.js
Thomas 11 년 전
부모
커밋
3d9d5d4cca
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      Resources/views/standard_layout.html.twig

+ 1 - 1
Resources/views/standard_layout.html.twig

@@ -18,7 +18,7 @@ file that was distributed with this source code.
 {% set _title        = block('title') %}
 {% set _breadcrumb   = block('breadcrumb') %}
 <!DOCTYPE html>
-<html class="no-js">
+<html {% block html_attributes %}class="no-js"{% endblock %}>
     <head>
         <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />