'notification-form', 'action' => Url::toRoute('notification/send'), 'options' => [ 'enctype' => 'multipart/form-data', 'data-pjax' => "0" ], ]) ?>
field($model, 'title'); ?>
: 0
field($model, 'body')->textarea([ 'rows' => 10, 'class' => 'form-control notification-body' ]); ?>
$model, 'attribute' => 'attachments[]', 'id' => "notification_attachment", 'options'=>[ 'multiple'=>true ], 'pluginOptions' => [ 'theme' => 'fa4', 'initialPreviewAsData'=>true, 'overwriteInitial'=>false, 'maxFileSize'=>2800, 'showPreview' => true, 'showUpload' => false, 'showRemove' => true, 'showClose' => false, ] ]); ?>
'btn btn-primary float-right'] ); ?>