xref: /webtrees/resources/views/modules/google-analytics/form.phtml (revision ac71572d8462e396ed5a307f05b29381e49f9e6e)
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