Explorar o código

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

Maxi Schvindt %!s(int64=6) %!d(string=hai) anos
pai
achega
c2db8847ac
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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('url', TextType::class, array(
                     'help' => $this->trans('help.url'),
+                    'attr' => array('placeholder' => 'https://base.xx.flowdat.com/api/routes')
                 ))
                 ->add('saveHistoric', null, array(
                     'help' => $this->trans('help.saveHistoric'),