Browse Source

Se agrega un placeholder para informar sobre la ruta al base.

Maxi Schvindt 6 years ago
parent
commit
c2db8847ac
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/StatsBundle/Admin/DeviceServerAdmin.php

+ 1 - 0
src/StatsBundle/Admin/DeviceServerAdmin.php

@@ -56,6 +56,7 @@ class DeviceServerAdmin extends BaseAdmin
                 ->add('name')
                 ->add('name')
                 ->add('url', TextType::class, array(
                 ->add('url', TextType::class, array(
                     'help' => $this->trans('help.url'),
                     'help' => $this->trans('help.url'),
+                    'attr' => array('placeholder' => 'https://base.xx.flowdat.com/api/routes')
                 ))
                 ))
                 ->add('saveHistoric', null, array(
                 ->add('saveHistoric', null, array(
                     'help' => $this->trans('help.saveHistoric'),
                     'help' => $this->trans('help.saveHistoric'),