Browse Source

Merge pull request #96 from deoxxa/fix-boolean-images.

added asset() call to fix incorrect paths for images representing boolean
Thomas 14 years ago
parent
commit
ec70a7103d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Resources/views/CRUD/list_boolean.html.twig

+ 1 - 1
Resources/views/CRUD/list_boolean.html.twig

@@ -11,5 +11,5 @@ file that was distributed with this source code.
 
 {% extends 'SonataAdminBundle:CRUD:base_list_field.html.twig' %}
 
-{% block field%}<img src="/bundles/sonataadmin/famfamfam/{% if value %}accept{% else %}exclamation{% endif %}.png" />{% endblock %}
+{% block field%}<img src="{{ asset('bundles/sonataadmin/famfamfam/') }}{% if value %}accept{% else %}exclamation{% endif %}.png" />{% endblock %}