Answer the question
In order to leave comments, you need to log in
How to make two different checkboxes in a row?
There are two checkboxes
<?= $form->field($model, 'send_mail')->checkboxList(['1' => 'EMAIL'])->label('Уведомить покупателя?'); ?>
<?= $form->field($model, 'send_sms')->checkboxList(['1' => 'SMS'])->label('Уведомить покупателя?'); ?>
Answer the question
In order to leave comments, you need to log in
1. You enclose your checkboxes in a div or any other tag
2. You write in the styles the selector of your "div or any tag"
.blablabla{
display: inline-flex;
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question