Commit 78317a672f7e0eb4b12a8d22b2847d2d04f336d0
1 parent
a13b8b9c
Exists in
master
and in
1 other branch
Correções
Showing
2 changed files
with
2 additions
and
2 deletions
Show diff stats
src/Cacic/CommonBundle/Form/Type/UsbDeviceType.php
| @@ -19,7 +19,7 @@ class UsbDeviceType extends AbstractType | @@ -19,7 +19,7 @@ class UsbDeviceType extends AbstractType | ||
| 19 | $builder->add('idUsbVendor', 'entity', | 19 | $builder->add('idUsbVendor', 'entity', |
| 20 | array( | 20 | array( |
| 21 | 'empty_value' => 'Selecione o Fabricante', | 21 | 'empty_value' => 'Selecione o Fabricante', |
| 22 | - 'required' => false, | 22 | + 'required' => true, |
| 23 | 'class' => 'CacicCommonBundle:UsbVendor', | 23 | 'class' => 'CacicCommonBundle:UsbVendor', |
| 24 | 'property' => 'nmUsbVendor', | 24 | 'property' => 'nmUsbVendor', |
| 25 | 'label'=>'Identificador do Fabricante') | 25 | 'label'=>'Identificador do Fabricante') |
src/Cacic/CommonBundle/Resources/views/UorgType/index.html.twig
| @@ -41,7 +41,7 @@ | @@ -41,7 +41,7 @@ | ||
| 41 | </tr> | 41 | </tr> |
| 42 | {% else %} | 42 | {% else %} |
| 43 | <tr> | 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 | </tr> | 45 | </tr> |
| 46 | {% endfor %} | 46 | {% endfor %} |
| 47 | </tbody> | 47 | </tbody> |