Browse Source

Error form panel

tags/0.1
Fab 3 years ago
parent
commit
6f51ec4b04
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      Controller/Admin/AbstractCrudController.php

+ 2
- 2
Controller/Admin/AbstractCrudController.php View File

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


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

Loading…
Cancel
Save