Commit c2738cf2af1f5a4cecf98107a442899fc36e32ee

Authored by Bruno Menezes
1 parent b8951ec0
Exists in master and in 1 other branch 3.1

Alerta de exclusão acrescentado

src/Cacic/CommonBundle/Resources/views/UorgType/index.html.twig
... ... @@ -34,7 +34,7 @@
34 34 <a href="{{ path('cacic_uorg_type_cadastrar', {'idUorgType': uorg.idTipoUorg }) }}" class="btn btn-small" title="{{ "Editar Item"|trans }}">
35 35 <i class="btn-icon-only icon-edit icon-large"></i>
36 36 </a>
37   - <a href="{{ path('cacic_uorg_type_excluir', {'idUorgType': uorg.idTipoUorg}) }}" class="btn btn-small btn-danger bt-excluir" title="{{ "Excluir Item"|trans }}">
  37 + <a href="{{ path('cacic_uorg_type_excluir', {'id': uorg.idTipoUorg }) }}" class="btn btn-small btn-danger btn-excluir" title="{{ "Excluir Item"|trans }}" onClick="return confirm('Tem certeza que deseja excluir esse registro?')">
38 38 <i class="btn-icon-only icon-trash icon-large"></i>
39 39 </a>
40 40 </td>
... ... @@ -80,7 +80,7 @@
80 80 };
81 81 $( "#System_Excluir" ).data( 'params', { 'url': url, 'id': uorgId, 'callback': callback } ).dialog( "open" );
82 82 }
83   -
  83 +
84 84 </script>
85 85  
86 86 {% endblock %}
... ...