Explorar o código

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

Add a new html_attributes to work with angular.js
Thomas %!s(int64=11) %!d(string=hai) anos
pai
achega
3d9d5d4cca
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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" />