Commit e388a1a8f6094b6609c4820596c76220c91925d1
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,13 +25,15 @@ | ||
| 25 | ?> | 25 | ?> |
| 26 | <div class="form-comm-wr"> | 26 | <div class="form-comm-wr"> |
| 27 | <?php | 27 | <?php |
| 28 | + | ||
| 29 | + echo $form->field($comment_model, 'text', [ 'options' => [ 'class' => 'form-group input_bl area_bl' ] ]) | ||
| 30 | + ->textarea(); | ||
| 31 | + | ||
| 28 | echo $form->field($comment_model, 'username', [ 'options' => [ 'class' => 'form-group input_bl' ] ]) | 32 | echo $form->field($comment_model, 'username', [ 'options' => [ 'class' => 'form-group input_bl' ] ]) |
| 29 | ->textInput(); | 33 | ->textInput(); |
| 30 | echo $form->field($comment_model, 'email', [ 'options' => [ 'class' => 'form-group input_bl' ] ]) | 34 | echo $form->field($comment_model, 'email', [ 'options' => [ 'class' => 'form-group input_bl' ] ]) |
| 31 | ->textInput(); | 35 | ->textInput(); |
| 32 | - | ||
| 33 | - echo $form->field($comment_model, 'text', [ 'options' => [ 'class' => 'form-group input_bl area_bl' ] ]) | ||
| 34 | - ->textarea(); | 36 | + |
| 35 | echo Html::tag('div', Html::submitButton(Yii::t('artbox-comment', 'Submit')), [ 'class' => 'input_bl submit_btn' ]); | 37 | echo Html::tag('div', Html::submitButton(Yii::t('artbox-comment', 'Submit')), [ 'class' => 'input_bl submit_btn' ]); |
| 36 | ?> | 38 | ?> |
| 37 | </div> | 39 | </div> |