<?php
/* @var $this BattlesController */
/* @var $model BattlesLocations */
$this->pageTitle = BattlesLocations::getNameWithIcon($current->id_location);
?>
<?php if (!$locations): ?>
    <div class="info">Доступных локаций нет</div>
<?php else: ?>
    <?php foreach($locations as $locations):?>
        <?php echo CHtml::link(BattlesLocations::getNameWithIcon($locations->navig, $locations->navig), array('/battles/nearLocation', 'id' => $locations->navig), array('class' => 'block'));?>
    <?php endforeach;?>
 <?php endif; ?>