Commit e388a1a8f6094b6609c4820596c76220c91925d1

Authored by Eugeny Galkovskiy
1 parent aefe3948

123

Showing 1 changed file with 5 additions and 3 deletions   Show diff stats
frontend/views/comments/_form.php
... ... @@ -25,13 +25,15 @@
25 25 ?>
26 26 <div class="form-comm-wr">
27 27 <?php
  28 +
  29 + echo $form->field($comment_model, 'text', [ 'options' => [ 'class' => 'form-group input_bl area_bl' ] ])
  30 + ->textarea();
  31 +
28 32 echo $form->field($comment_model, 'username', [ 'options' => [ 'class' => 'form-group input_bl' ] ])
29 33 ->textInput();
30 34 echo $form->field($comment_model, 'email', [ 'options' => [ 'class' => 'form-group input_bl' ] ])
31 35 ->textInput();
32   -
33   - echo $form->field($comment_model, 'text', [ 'options' => [ 'class' => 'form-group input_bl area_bl' ] ])
34   - ->textarea();
  36 +
35 37 echo Html::tag('div', Html::submitButton(Yii::t('artbox-comment', 'Submit')), [ 'class' => 'input_bl submit_btn' ]);
36 38 ?>
37 39 </div>
... ...