Procházet zdrojové kódy

Update list__select.html.twig

Change link target to enable on click selection
julien-maitan před 10 roky
rodič
revize
fe56a06778
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      Resources/views/CRUD/list__select.html.twig

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

@@ -12,7 +12,7 @@ file that was distributed with this source code.
 {% extends admin.getTemplate('base_list_field') %}
 
 {% block field %}
-    <a class="btn btn-default" href="#">
+    <a class="btn btn-default" href="{{ admin.generateObjectUrl('edit', object) }}">
         <i class="glyphicon glyphicon-arrow-right"></i>
         {{ 'list_select'|trans({}, 'SonataAdminBundle') }}
     </a>