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