xref: /webtrees/resources/views/modules/top10_pageviews/config.phtml (revision bed27cedea507c28d3a20c0fce49bfb8580f832f)
1<?php use Fisharebest\Webtrees\I18N; ?>
2
3<div class="form-group row">
4    <label class="col-sm-3 col-form-label" for="num">
5        <?= /* I18N: ... to show in a list */ I18N::translate('Number of pages') ?>
6    </label>
7    <div class="col-sm-9">
8        <input class="form-control" id="num" name="num" type="number" min="1" value="<?= e($num) ?>" required>
9    </div>
10</div>
11
12<div class="form-group row">
13    <label class="col-sm-3 col-form-label" for="count_placement">
14        <?= /* I18N: Label for a configuration option */ I18N::translate('Show counts before or after name') ?>
15    </label>
16    <div class="col-sm-9">
17        <?= view('components/select', ['name' => 'count_placement', 'selected' => $count_placement, 'options' => $options]) ?>
18    </div>
19</div>
20