xref: /webtrees/resources/views/modules/yahrzeit/config.phtml (revision dd6b2bfcc550270bb6d6778e11576148f71e4330)
1*dd6b2bfcSGreg Roach<?php use Fisharebest\Webtrees\Bootstrap4; ?>
2*dd6b2bfcSGreg Roach<?php use Fisharebest\Webtrees\I18N; ?>
3*dd6b2bfcSGreg Roach
4*dd6b2bfcSGreg Roach<div class="form-group row">
5*dd6b2bfcSGreg Roach    <label class="col-sm-3 col-form-label" for="days">
6*dd6b2bfcSGreg Roach        <?= I18N::translate('Number of days to show') ?>
7*dd6b2bfcSGreg Roach    </label>
8*dd6b2bfcSGreg Roach    <div class="col-sm-9">
9*dd6b2bfcSGreg Roach        <input class="form-control" type="text" id="days" name="days" value="<?= e($days) ?>">
10*dd6b2bfcSGreg Roach        <em>
11*dd6b2bfcSGreg Roach            <?= I18N::plural('maximum %s day', 'maximum %s days', $max_days, I18N::number($max_days)) ?>
12*dd6b2bfcSGreg Roach        </em>
13*dd6b2bfcSGreg Roach    </div>
14*dd6b2bfcSGreg Roach</div>
15*dd6b2bfcSGreg Roach
16*dd6b2bfcSGreg Roach<div class="form-group row">
17*dd6b2bfcSGreg Roach    <label class="col-sm-3 col-form-label" for="infoStyle">
18*dd6b2bfcSGreg Roach        <?= I18N::translate('Presentation style') ?>
19*dd6b2bfcSGreg Roach    </label>
20*dd6b2bfcSGreg Roach    <div class="col-sm-9">
21*dd6b2bfcSGreg Roach        <?= Bootstrap4::select($styles, $infoStyle, ['id' => 'infoStyle', 'name' => 'infoStyle']) ?>
22*dd6b2bfcSGreg Roach    </div>
23*dd6b2bfcSGreg Roach</div>
24*dd6b2bfcSGreg Roach
25*dd6b2bfcSGreg Roach<div class="form-group row">
26*dd6b2bfcSGreg Roach    <label class="col-sm-3 col-form-label" for="calendar">
27*dd6b2bfcSGreg Roach        <?= I18N::translate('Calendar') ?>
28*dd6b2bfcSGreg Roach    </label>
29*dd6b2bfcSGreg Roach    <div class="col-sm-9">
30*dd6b2bfcSGreg Roach        <?= Bootstrap4::select($calendars, $calendar, ['id' => 'calendar', 'name' => 'calendar']) ?>
31*dd6b2bfcSGreg Roach    </div>
32*dd6b2bfcSGreg Roach</div>
33