<?php

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