I need an example in Yii2 that allows me to put some submitButton and textinput () on the same line, as the example below:
part of my code that mounts the buttons:
<?= Html::submitButton(Yii::t('app','Voltar'), ['class' => 'btn btn-primary', 'name' => 'voltar','style' => 'width:78px']) ?>
<?= Html::submitButton(Yii::t('app','Atualizar'), ['class' => 'btn btn-primary', 'name' => 'atualizar','style' => 'width:80px']) ?>
<?= Html::Button(Yii::t('app','Apagar'), ['id'=>'btn-confirm','class' => 'btn btn-danger', 'name' => 'apagar','style' => 'width:78px','disabled'=>$desabilitaAPAGA]) ?>
<?php
if($habilitaLIGA)
echo Html::submitButton(Yii::t('app','Ativar'), ['class' => 'btn btn-success', 'name' => 'ativar','style' => 'width:78px']);
?>
<?php
if($habilitaDESLIGA)
echo Html::submitButton(Yii::t('app','Desativar'), ['class' => 'btn btn-success', 'name' => 'desativar', 'style' => 'width:80px']);
?>
<?= Html::submitButton(Yii::t('app','Gráfico'), ['class' => 'btn btn-primary', 'name' => 'grafico','style' => 'width:80px']) ?>
I'm waiting for an example to help me.