浏览代码

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

Maxi Schvindt 6 年之前
父节点
当前提交
c2db8847ac
共有 1 个文件被更改,包括 1 次插入0 次删除
  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'),