<?php use \common\modules\triggers\components\conditions\Conditions; ?>
<?php $condition_key = rand(100,999); ?>
<div class="alert alert-info alert-dismissible" role="alert">
    <button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">&times;</span></button>
    <strong>Условие: <?php echo $object->getName(); ?></strong>
    <input type="hidden" name="Conditions[<?php echo $key; ?>][<?php echo $object->getId().$condition_key; ?>][id]" value="<?php echo $object->getId(); ?>"/>
    <?php
    foreach($object->getParams($key, $condition_key) as $param) {
        echo $param;
    }
    ?>
</div>