field($model, 'document_id')->widget(Select2::className(), [ 'data' => Document::find()->select(['title', 'id']) ->indexBy('id')->column(), 'options' => ['placeholder' => 'Выберите документ','class' => 'form-control'], 'pluginOptions' => [ 'allowClear' => true ], ]) ?> field($model, 'field_id')->widget(Select2::className(), [ 'data' => DocumentField::find()->select(['title', 'id']) ->indexBy('id')->column(), 'options' => ['placeholder' => 'Выберите поле','class' => 'form-control'], 'pluginOptions' => [ 'allowClear' => true ], ]) ?> field($model, 'value')->textInput(['maxlength' => true]) ?>
'btn btn-success']) ?>