<?php
use \yii\data\ActiveDataProvider;

return [
    'activeForm' => [
        'id' => 'trigger-form',
        'options' => [
            'enctype' => 'multipart/form-data'
        ]
    ],
    'elements' => [
        'active' => [
            'type' => 'checkbox',
            'class' => 'form-control'
        ],
        'word' => [
            'type' => 'text',
            'class' => 'form-control'
        ],
    ],
    'buttons' => [
        'submit' => ['type' => 'submit', 'value' => 'Cохранить']
    ]
];