kernel pack, update and some fix
This commit is contained in:
@ -48,5 +48,10 @@ $table->addAction(function ($row, $url) use ($moduleService){
|
||||
return "<a class='btn btn-primary' href='$url/view/?slug=$slug' style='margin: 3px; width: 150px;' >Просмотр</a>";
|
||||
});
|
||||
|
||||
$table->addAction(function ($row, $url) use ($moduleService){
|
||||
$slug = $row['slug'];
|
||||
return "<a class='btn btn-primary' href='$url/update/?slug=$slug' style='margin: 3px; width: 150px;' >Обновить</a>";
|
||||
});
|
||||
|
||||
$table->create();
|
||||
$table->render();
|
||||
|
Reference in New Issue
Block a user