a trivial question, but all my efforts to comment out code lines like this:
<?=$form->field($model, 'bew_id')->textInput(['placeholder' => 'Bew']) ?>
failed by using PHP and/or HTML-comments.Following trys didn't success:
//
/* */
<-!- -->
Any ideas??
Change <?=
to <?php
and then do the comment
<?php /*echo $form->field($model, 'bew_id')->textInput(['placeholder' => 'Bew']) */ ?>
because this
<?= $form->field($model, 'bew_id')->textInput(['placeholder' => 'Bew']) ?>
is shorthand for
<?php echo $form->field($model, 'bew_id')->textInput(['placeholder' => 'Bew']) ?>
use any comment // or /* */
Remove <?=
at the beginning then you can comment by using <!--
as follows
<!---$form->field($model, 'bew_id')->textInput(['placeholder' => 'Bew']) ?>-->