浏览代码

Merge pull request #2412 from dunglas/patch-3

Cleanup layout's HTML
Andrej Hudec 10 年之前
父节点
当前提交
acb1706aa6
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      Resources/views/standard_layout.html.twig

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

@@ -30,7 +30,7 @@ file that was distributed with this source code.
         {% block stylesheets %}
         {% block stylesheets %}
 
 
             {% for stylesheet in admin_pool.getOption('stylesheets', []) %}
             {% for stylesheet in admin_pool.getOption('stylesheets', []) %}
-                <link rel="stylesheet" type="text/css"  href="{{ asset(stylesheet) }}"  />
+                <link rel="stylesheet" href="{{ asset(stylesheet) }}">
             {% endfor %}
             {% endfor %}
 
 
         {% endblock %}
         {% endblock %}
@@ -48,7 +48,7 @@ file that was distributed with this source code.
             </script>
             </script>
 
 
             {% for javascript in admin_pool.getOption('javascripts', []) %}
             {% for javascript in admin_pool.getOption('javascripts', []) %}
-                <script src="{{ asset(javascript) }}" type="text/javascript"></script>
+                <script src="{{ asset(javascript) }}"></script>
             {% endfor %}
             {% endfor %}
 
 
             {# localize select2 #}
             {# localize select2 #}