You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
721 B

7 years ago
<?php
use core\forms\SettingsForm;
use core\entities\Settings;
/**
* @var yii\web\View $this
* @var SettingsForm $model
* @var Settings $settings
*/
$this->title = Yii::t('main', 'Updating Setting') . ' ' . $model->section . '.' . $model->key;
7 years ago
$this->params['breadcrumbs'][] = ['label' => Yii::t('main', 'Settings'), 'url' => ['index']];
$this->params['breadcrumbs'][] = [
'label' => $model->section . '.' . $model->key,
'url' => ['view', 'section' => $settings->section, 'key' => $settings->key]
];
7 years ago
$this->params['breadcrumbs'][] = Yii::t('main', 'Editing');
?>
<div class="setting-update">
<?=
$this->render(
'_form',
[
'model' => $model,
]
) ?>
7 years ago
</div>