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