<div class="col-xs-12">
    <input type="text" class="form-control modal-filter" id="codes-filter" placeholder="Filtruj"/>
    <div class="row" id="codes-list">
        <?php if (empty($codes['bKody'])): ?>
            <h2 style="margin-bottom: 40px;">Brak kodów</h2>
        <?php else: ?>
            <div class="col-xs-12 checkboxes-right check-all blue-text">
                <label class="pull-left hover-pointer" for="AllCodes">
                    Wszystkie
                </label>
                <input type="checkbox" class="pull-right" id="AllCodes"/>
            </div>
            <?php foreach ($codes['bKody']['bKod'] as $key => $code): ?>
				<div class="col-xs-2"><?php echo $code['bSymbol']; ?></div>
                <div class="col-xs-10 checkboxes-right">
                    <label class="pull-left hover-pointer" for="<?php echo $code['bSymbol']; ?>">
                        <?php echo $code['bOpis']; ?>
                    </label>
                    <input type="checkbox" class="pull-right" id="<?php echo $code['bSymbol']; ?>"/>
                </div>
            <?php endforeach; ?>
        <?php endif; ?>
    </div>
</div>
<div class="loader-holder loader-overlapping" id="code-list-loader">
    <div class="loader"></div>
</div>

<?php echo $this->element('alert_close'); ?>
