Hello,
is there a way to pass some variable to an action controller (create, in my case) from a button of a form ?
<?= Html::a(Yii::t('app', 'Cancel'), ['create'], ['class' => 'btn btn-danger']) ?></p>
<?php ActiveForm::end(); ?>
Hello,
is there a way to pass some variable to an action controller (create, in my case) from a button of a form ?
<?= Html::a(Yii::t('app', 'Cancel'), ['create'], ['class' => 'btn btn-danger']) ?></p>
<?php ActiveForm::end(); ?>