xref: /webtrees/resources/views/modules/google-analytics/form.phtml (revision 49b21e1ab436397afe99f8e0c3035f1c9b944a85)
1<?php
2
3declare(strict_types=1);
4
5use Fisharebest\Webtrees\I18N;
6
7?>
8
9<div class="row mb-3">
10    <label for="GOOGLE_ANALYTICS_ID" class="col-sm-3 col-form-label">
11        <?= /* I18N: A configuration setting */ I18N::translate('Site identification code') ?>
12        <span class="visually-hidden">Google Analytics</span>
13    </label>
14    <div class="col-sm-9">
15        <input type="text" class="form-control" id="GOOGLE_ANALYTICS_ID" name="GOOGLE_ANALYTICS_ID" value="<?= e($GOOGLE_ANALYTICS_ID ?? '') ?>" placeholder="UA-12345-6 / G-1A2B3C4D" maxlength="255" pattern="UA-[0-9]+-[0-9]+|G-[0-9A-Z]+">
16    </div>
17</div>
18