<div class="col-xs-12">
	<input type="text" class="form-control modal-filter" id="wniosek-filter" placeholder="Filtruj"/>
	<div class="row" id="wniosek-list">
		<?php if (empty($wnioski)): ?>
			<h3 style="margin-bottom: 40px;">Brak wniosków</h3>
		<?php else: ?>
			<div class="col-xs-12 checkboxes-right blue-text">
				<div class="row">
					<div class="col-sm-11">
						<label class="pull-left hover-pointer" for="ALL">
							Wszystkie
						</label>
					</div>
					<div class="col-sm-1">
						<input type="checkbox" class="pull-right" id="ALL" />
					</div>
				</div>
			</div>
			<?php foreach ($wnioski as $key => $item): ?>
				<div class="col-xs-12 checkboxes-right">
					<div class="row">
						<div class="col-sm-11">
							<label class="pull-left hover-pointer" for="<?php echo $item['bGid']; ?>">
								<?php
								echo $item['bNazwa'];
								?>
							</label>
						</div>
						<div class="col-sm-1 text-right">
							<input type="checkbox" class="pull-right" id="<?php echo $item['bGid']; ?>" data-nazwa="<?php echo $item['bNazwa']; ?>" />
						</div>
					</div>
				</div>
			<?php endforeach; ?>
		<?php endif; ?>
	</div>
</div>
<div class="loader-holder loader-overlapping" id="wniosek-list-loader">
	<div class="loader"></div>
</div>

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