Merge branch 'master' of https://git.itguild.info/stasbilay02/MicroFrameWork
This commit is contained in:
commit
65b332811f
@ -2,6 +2,8 @@
|
||||
|
||||
namespace app\modules\tag;
|
||||
|
||||
use itguild\forms\builders\TextInputBuilder;
|
||||
use itguild\forms\Form;
|
||||
use kernel\Module;
|
||||
use kernel\modules\menu\service\MenuService;
|
||||
use kernel\services\MigrationService;
|
||||
@ -35,4 +37,11 @@ class TagModule extends Module
|
||||
{
|
||||
$this->menuService->removeItemBySlug("tag");
|
||||
}
|
||||
|
||||
public function formInputs(): void
|
||||
{
|
||||
$input = TextInputBuilder::build("tags", ['class' => 'form-control', 'placeholder' => "Теги"]);
|
||||
$input->setLabel("Теги");
|
||||
$input->create()->render();
|
||||
}
|
||||
}
|
@ -3,6 +3,7 @@
|
||||
"version": "0.2",
|
||||
"author": "ITGuild",
|
||||
"slug": "tag",
|
||||
"type": "additional_property",
|
||||
"description": "Tags module",
|
||||
"app_module_path": "{APP}/modules/{slug}",
|
||||
"module_class": "app\\modules\\tag\\TagModule",
|
||||
|
Loading…
Reference in New Issue
Block a user