Commit 164b8b17 authored by Shakarim Sapa's avatar Shakarim Sapa

- Add new attr

parent 6f67a729
......@@ -38,7 +38,10 @@ use common\modules\content\widgets\MetaTagsWidget;
echo Html::img(\Yii::$app->params['frontUrl'] . $model->preview);
} ?>
<?php echo $form->field($model, 'template_id')->dropDownList(\yii\helpers\ArrayHelper::map(MessageTemplate::find()->all(), 'id', 'name'), ['class' => 'form-control selectpicker']); ?>
<?php
echo $form
->field($model, 'template_id')
->dropDownList(\yii\helpers\ArrayHelper::map(MessageTemplate::find()->all(), 'id', 'name'), ['class' => 'form-control selectpicker', 'data-live-search' => true]); ?>
<?= $form->field($model, 'file')->fileInput() ?>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment