feat: Add 'wygeneruj_temat' parameter to topic_save method and update related templates for enhanced topic management
This commit is contained in:
@@ -37,6 +37,13 @@ ob_start();
|
||||
'value' => $this -> topic['temat'],
|
||||
'inline' => true
|
||||
] );?>
|
||||
<?= \Html::input_switch( [
|
||||
'label' => 'Wygeneruj temat',
|
||||
'name' => 'wygeneruj_temat',
|
||||
'id' => 'wygeneruj_temat',
|
||||
'checked' => $this -> topic['wygeneruj_temat'] == 1 ? true : false,
|
||||
'inline' => true
|
||||
] );?>
|
||||
<?= \Html::input( [
|
||||
'label' => 'Data publikacji',
|
||||
'name' => 'data_publikacji',
|
||||
@@ -65,7 +72,7 @@ $grid = new \gridEdit;
|
||||
$grid -> id = 'client-edit';
|
||||
$grid -> gdb_opt = $gdb;
|
||||
$grid -> include_plugins = true;
|
||||
$grid -> title = 'Edycja <strong>tematu zbiorowego</strong>';
|
||||
$grid -> title = 'Edycja <strong>tematu</strong>';
|
||||
$grid -> fields = [
|
||||
[
|
||||
'db' => 'id',
|
||||
|
||||
Reference in New Issue
Block a user