title = Yii::t('backend', 'Настройки уведомлений');
$this->params['breadcrumbs'][] = $this->title;
?>
[
'template' => "{input}\n{error}"
]
]); ?>
$type) : ?>
field($type, "[$key]enabled")->checkbox([
'label' => $type->description
]); ?>
field($enable_widget, 'value')->widget(SwitchInput::class, [
'options' => [
'id' => 'enable_widget',
'name' => 'enable_widget'
]
]); ?>
field($request_interval, 'value')->textInput([
'id' => 'request_interval',
'name' => 'request_interval',
'type' => 'number',
'min' => NotificationSetting::MIN_REQUEST_INTERVAL,
'max' => NotificationSetting::MAX_REQUEST_INTERVAL
]); ?>
'btn btn-primary float-right']); ?>