<commit_before><?php
use backend\widgets\DetailViewRowEditor\BooleanWidget;
use backend\widgets\DetailViewRowEditor\DropdownWidget;
use backend\widgets\EditableDetailView\EditableDetailView;
/**
 * @var $this \yii\web\View
 * @var $model \common\models\Settings
 */

$this->params['breadcrumbs'][] = 'Settings';
$this->title='Settings';
?>

<?=\common\widgets\Alert::widget();?>
<div class="box box-primary direct-chat direct-chat-primary">
    <div class="box-header with-border">
        <h3 class="box-title">Main settings</h3>
    </div>
    <div class="box-body">
        <div class="col-md-12">
            <?= EditableDetailView::widget([
                'model'=>$model,
                'attributes'=> [
                    'version',
                    [
                        'format' => 'raw',
                        'attribute' => 'is_offline',
                        'value' => BooleanWidget::widget([
                            'model' => $model,
                            'attribute' => 'is_offline'
                        ])
                    ],
                    [
                            'format' => 'raw',
                            'attribute' => 'is_development',
                            'value' => BooleanWidget::widget([
                                'model' => $model,
                                'attribute' => 'is_development'
                        ])
                    ],
                    [
                        'format' => 'raw',
                        'attribute' => 'theme_id',
                        'value' => DropdownWidget::widget([
                            'attribute' => 'theme_id',<commit_msg>Settings view updated<commit_after><?php
use backend\widgets\DetailViewRowEditor\BooleanWidget;
use backend\widgets\DetailViewRowEditor\DropdownWidget;
use backend\widgets\EditableDetailView\EditableDetailView;
/**
 * @var $this \yii\web\View
 * @var $model \common\models\Settings
 */

$this->params['breadcrumbs'][] = 'Settings';
$this->title='Settings';
?>

<?=\common\widgets\Alert::widget();?>
<div class="box box-primary direct-chat direct-chat-primary">
    <div class="box-header with-border">
        <h3 class="box-title">Main settings</h3>
    </div>
    <div class="box-body">
        <div class="col-md-12">
            <?= EditableDetailView::widget([
                'model'=>$model,
                'attributes'=> [
                    'version',
                    'site_name',
                    [
                        'format' => 'raw',
                        'attribute' => 'is_offline',
                        'value' => BooleanWidget::widget([
                            'model' => $model,
                            'attribute' => 'is_offline'
                        ])
                    ],
                    [
                            'format' => 'raw',
                            'attribute' => 'is_development',
                            'value' => BooleanWidget::widget([
                                'model' => $model,
                                'attribute' => 'is_development'
                        ])
                    ],
                    [
                        'format' => 'raw',
                        'attribute' => 'theme_id',
                        'value' => DropdownWidget::widget([
                            'attribute' => 'theme_id',
{'fraction_non_alphanumeric': 0.14201358134041925, 'fraction_numerical': 0.0023619722468261, 'mean_word_length': 1.2289473684210526, 'pattern_counts': {'":': 0, '<': 23, '<?xml version=': 0, '>': 57, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1341942', 'n_tokens_mistral': 867, 'n_tokens_neox': 821, 'n_words': 132}