<div class="modal fade" id="categoriesModal" tabindex="-1" role="dialog" aria-labelledby="Список доступных категорий" aria-hidden="true" style="display: none;">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
                <h4 class="modal-title" id="myModalLabel">Список доступных категорий</h4>
            </div>
            <div class="modal-body">
				<?php foreach ($categories as $category): ?>
					<img src="<?= $category->icon ?>"> - <a href="/page/points/category/<?= $category->id ?>"><?= $category->name ?></a><br/>
				<?php endforeach; ?>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">OK</button>
            </div>
        </div>
    </div>
</div>