<?php
use yii\widgets\ActiveForm;
use yii\helpers\Html;
?>
<h1>Kulcs importálás</h1>
<?php $form = ActiveForm::begin(['options' => ['enctype' => 'multipart/form-data']]) ?>

    <?= $form->field($model, 'file')->fileInput() ?>
    
    <button>Submit</button>
    <?php 
    	if ( isset($model->message)){
    		?>
    		<br>	
    		<div class="panel panel-default" style="margin-top: 24px;">
			  <!-- Default panel contents -->
			  <div class="panel-heading">Importálás összegzése</div>
			  <div class="panel-body">
			  	<?php echo $model->message;?>
			  
			  </div>
			</div>
    		
    		<?php 
    		
    	}
    ?>




<?php ActiveForm::end() ?>