Commit 78317a672f7e0eb4b12a8d22b2847d2d04f336d0

Authored by Gedeson Wasley
1 parent a13b8b9c
Exists in master and in 1 other branch 3.1

Correções

src/Cacic/CommonBundle/Form/Type/UsbDeviceType.php
... ... @@ -19,7 +19,7 @@ class UsbDeviceType extends AbstractType
19 19 $builder->add('idUsbVendor', 'entity',
20 20 array(
21 21 'empty_value' => 'Selecione o Fabricante',
22   - 'required' => false,
  22 + 'required' => true,
23 23 'class' => 'CacicCommonBundle:UsbVendor',
24 24 'property' => 'nmUsbVendor',
25 25 'label'=>'Identificador do Fabricante')
... ...
src/Cacic/CommonBundle/Resources/views/UorgType/index.html.twig
... ... @@ -41,7 +41,7 @@
41 41 </tr>
42 42 {% else %}
43 43 <tr>
44   - <td colspan="2" style="text-align: center;">{{ "Nenhum registro encontrado"|trans }}</td>
  44 + <td colspan="3" style="text-align: center;">{{ "Nenhum registro encontrado"|trans }}</td>
45 45 </tr>
46 46 {% endfor %}
47 47 </tbody>
... ...