Ver código fonte

Error form panel

tags/0.1
Fab 3 anos atrás
pai
commit
6f51ec4b04
1 arquivos alterados com 2 adições e 2 exclusões
  1. +2
    -2
      Controller/Admin/AbstractCrudController.php

+ 2
- 2
Controller/Admin/AbstractCrudController.php Ver arquivo

@@ -244,7 +244,7 @@ abstract class AbstractCrudController extends EaAbstractCrudController
{
if ($this->isInstanceOf(SortableInterface::class)) {
$seoPanel = [
FormField::addPanel('Seo'),
FormField::addPanel('Seo')->setTemplateName('crud/field/generic'),
TextField::new('metaTitle')->setLabel('Meta Title')->setHelp(
'Affiché dans les résultats de recherche Google'
)->hideOnIndex(),
@@ -260,7 +260,7 @@ abstract class AbstractCrudController extends EaAbstractCrudController

if ($this->isInstanceOf(DevAliasInterface::class)) {
$confPanel = [
FormField::addPanel('Conf'),
FormField::addPanel('Conf')->setTemplateName('crud/field/generic'),
TextField::new('devAlias')->hideOnIndex(),
];
}

Carregando…
Cancelar
Salvar