feat: replace form helper functions with components in admin template

This commit is contained in:
Yassine Doghri 2021-09-15 15:58:21 +00:00
commit e64548b982
70 changed files with 1461 additions and 2571 deletions

View file

@ -24,11 +24,12 @@ class Component implements ComponentInterface
{
helper('viewcomponents');
// overwrite default attributes if set
$this->attributes = array_merge($this->attributes, $attributes);
if ($attributes !== []) {
$this->hydrate($attributes);
}
// overwrite default attributes if set
$this->attributes = array_merge($this->attributes, $attributes);
}
/**