<?php
/**
 * Copyright © 2016 Magento. All rights reserved.
 * See COPYING.txt for license details.
 */

// @codingStandardsIgnoreFile

?>
<?php
/**
 * Product list toolbar
 *
 * @var $block \Magento\Catalog\Block\Product\ProductList\Toolbar
 */
use Magento\Catalog\Model\Product\ProductList\Toolbar;
?>
<div class="field limiter form-inline">
    <label class="label col-form-label-sm" for="limiter">
        <span><?php /* @escapeNotVerified */ echo __('Show') ?></span>
    </label>
    <select id="limiter" data-role="limiter" class="limiter-options form-control form-control-sm ml-2 mr-2">
        <?php foreach ($block->getAvailableLimit() as $_key => $_limit): ?>
            <option value="<?php /* @escapeNotVerified */ echo $_key ?>"<?php if ($block->isLimitCurrent($_key)): ?>
                selected="selected"<?php endif ?>>
                <?php /* @escapeNotVerified */ echo $_limit ?>
            </option>
        <?php endforeach; ?>
    </select>
    <span class="col-form-label-sm"><?php /* @escapeNotVerified */ echo __('per page') ?></span>
</div>
