I have an activeform with the model, I know I can create and render out text with the label() method. But is it possible to somehow embed a link <a> into the label?
Now I have this in two separated lines. But I would like to add the <a> link into the label.
<?= $form->field($model, 'contractAgreed')->checkbox()->label('I have read and agree the Contract.') ?>
<a href="<?= Generate::LinkOfContract() ?>" data-toggle="modal" data-target="#contract">Contract</a>