merge_email_verifier #3
|
@ -5,7 +5,7 @@ namespace App\Controller\Admin;
|
||||||
use App\Entity\Quotes;
|
use App\Entity\Quotes;
|
||||||
use EasyCorp\Bundle\EasyAdminBundle\Controller\AbstractCrudController;
|
use EasyCorp\Bundle\EasyAdminBundle\Controller\AbstractCrudController;
|
||||||
use EasyCorp\Bundle\EasyAdminBundle\Field\IdField;
|
use EasyCorp\Bundle\EasyAdminBundle\Field\IdField;
|
||||||
use EasyCorp\Bundle\EasyAdminBundle\Field\TextEditorField;
|
use EasyCorp\Bundle\EasyAdminBundle\Field\TextareaField;
|
||||||
use EasyCorp\Bundle\EasyAdminBundle\Field\TextField;
|
use EasyCorp\Bundle\EasyAdminBundle\Field\TextField;
|
||||||
|
|
||||||
class QuotesCrudController extends AbstractCrudController
|
class QuotesCrudController extends AbstractCrudController
|
||||||
|
@ -21,7 +21,7 @@ class QuotesCrudController extends AbstractCrudController
|
||||||
->onlyOnIndex();
|
->onlyOnIndex();
|
||||||
yield TextField::new(propertyName: 'quote')
|
yield TextField::new(propertyName: 'quote')
|
||||||
->onlyOnIndex();
|
->onlyOnIndex();
|
||||||
yield TextEditorField::new(propertyName: 'quote')
|
yield TextAreaField::new(propertyName: 'quote')
|
||||||
->onlyOnForms();
|
->onlyOnForms();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue