Pārlūkot izejas kodu

Error form panel

tags/0.1
Fab pirms 3 gadiem
vecāks
revīzija
6f51ec4b04
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. +2
    -2
      Controller/Admin/AbstractCrudController.php

+ 2
- 2
Controller/Admin/AbstractCrudController.php Parādīt failu

@@ -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(),
];
}

Notiek ielāde…
Atcelt
Saglabāt