<div class="container">
<div class="row">
<?php foreach ($vac as $item) :?>
<div class="col-md-6">
<div class="panel panel-primary fa-border">
<div class="panel-heading">
<h3 class="text-center" style="font-family: 'Exo 2', sans-serif;"><?=$item['name']?></h3>
</div>
<div class="panel-body">
<h4 class="panel-title">
<h4 class="text-center" style="font-family: 'Exo 2', sans-serif;"><i class="fa fa-id-card-o"></i> Описание</h4>
<br>
<?=$item['text']?>
<hr style="color: #0f0f0f; height:1px; background-color:#337ab7">
<h4 class="text-center" style="font-family: 'Exo 2', sans-serif;"><i class="fa fa-newspaper-o"></i> Требования</h4>
<?=$item['requirements']?>
<hr style="color: #0f0f0f; height:1px; background-color:#337ab7">
<h4 class="text-center" style="font-family: 'Exo 2', sans-serif;"><i class="fa fa-thumbs-o-up"></i> Условия</h4>
<?=$item['conditions']?>
</h4>
</div>
<div class="panel-footer text-center">
<a href="<?= \yii\helpers\Url::to(['vacancies/response', 'id' =>$item['id']])?>" type="button" data-name="<?=$item['name']?>" data-id="<?=$item['id']?>" class="btn-style-seven btnbaton" id="btnbaton">Отправить отклик</a>
</div>
</div>
</div>
<?php endforeach; ?>
</div>