Commit 8ce45d7f authored by Shakarim Sapa's avatar Shakarim Sapa

- Add new attr

parent 0697a211
...@@ -41,7 +41,14 @@ use common\modules\content\widgets\MetaTagsWidget; ...@@ -41,7 +41,14 @@ use common\modules\content\widgets\MetaTagsWidget;
<?php <?php
echo $form echo $form
->field($model, 'template_id') ->field($model, 'template_id')
->dropDownList(\yii\helpers\ArrayHelper::map(MessageTemplate::find()->all(), 'id', 'name'), ['class' => 'form-control selectpicker', 'data-live-search' => 'true']); ?> ->dropDownList(
\yii\helpers\ArrayHelper::map(MessageTemplate::find()->all(), 'id', 'name'
), [
'class' => 'form-control selectpicker',
'data-live-search' => 'true',
'data-size' => 10,
'data-style' => 'btn-white'
]); ?>
<?= $form->field($model, 'file')->fileInput() ?> <?= $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