1dd6b2bfcSGreg Roach<?php use Fisharebest\Webtrees\Bootstrap4; ?> 2dd6b2bfcSGreg Roach<?php use Fisharebest\Webtrees\I18N; ?> 3dd6b2bfcSGreg Roach 4dd6b2bfcSGreg Roach<h2 class="wt-page-title"> 5dd6b2bfcSGreg Roach <?= $title ?> 6dd6b2bfcSGreg Roach</h2> 7dd6b2bfcSGreg Roach 8dd6b2bfcSGreg Roach<form class="wt-page-options wt-page-options-branches d-print-none"> 9dd6b2bfcSGreg Roach <input type="hidden" name="route" value="branches"> 10*aa6f03bbSGreg Roach <input type="hidden" name="ged" value="<?= e($tree->name()) ?>"> 11dd6b2bfcSGreg Roach 12dd6b2bfcSGreg Roach <div class="form-group row"> 13dd6b2bfcSGreg Roach <label class="col-form-label col-sm-3 wt-page-options-label" for="surname"> 14dd6b2bfcSGreg Roach <?= I18N::translate('Surname') ?> 15dd6b2bfcSGreg Roach </label> 16dd6b2bfcSGreg Roach <div class="col-sm-9 wt-page-options-value"> 17dd6b2bfcSGreg Roach <input class="form-control" data-autocomplete-type="SURN" type="text" name="surname" id="surname" value="<?= e($surname) ?>" dir="auto"> 18dd6b2bfcSGreg Roach </div> 19dd6b2bfcSGreg Roach </div> 20dd6b2bfcSGreg Roach 21dd6b2bfcSGreg Roach <fieldset class="form-group"> 22dd6b2bfcSGreg Roach <div class="row"> 23dd6b2bfcSGreg Roach <legend class="col-form-label col-sm-3 wt-page-options-label"> 24dd6b2bfcSGreg Roach <?= I18N::translate('Phonetic search') ?> 25dd6b2bfcSGreg Roach </legend> 26dd6b2bfcSGreg Roach <div class="col-sm-9 wt-page-options-value"> 27dd6b2bfcSGreg Roach <?= Bootstrap4::checkbox(I18N::translate('Russell'), true, ['name' => 'soundex_std', 'checked' => $soundex_std]) ?> 28dd6b2bfcSGreg Roach <?= Bootstrap4::checkbox(I18N::translate('Daitch-Mokotoff'), true, ['name' => 'soundex_dm', 'checked' => $soundex_dm]) ?> 29dd6b2bfcSGreg Roach </div> 30dd6b2bfcSGreg Roach </div> 31dd6b2bfcSGreg Roach </fieldset> 32dd6b2bfcSGreg Roach 33dd6b2bfcSGreg Roach <div class="form-group row"> 34dd6b2bfcSGreg Roach <div class="col-sm-3 wt-page-options-label"> 35dd6b2bfcSGreg Roach </div> 36dd6b2bfcSGreg Roach <div class="col-sm-9 wt-page-options-value"> 37dd6b2bfcSGreg Roach <button type="submit" class="btn btn-primary"> 38dd6b2bfcSGreg Roach <?= /* I18N: A button label. */ I18N::translate('view') ?> 39dd6b2bfcSGreg Roach </button> 40dd6b2bfcSGreg Roach </div> 41dd6b2bfcSGreg Roach </div> 42dd6b2bfcSGreg Roach</form> 43dd6b2bfcSGreg Roach 44dd6b2bfcSGreg Roach<?php if ($surname !== '') : ?> 45*aa6f03bbSGreg Roach <div class="wt-ajax-load wt-page-content wt-chart wt-branches" data-ajax-url="<?= e(route('branches-list', ['surname' => $surname, 'soundex_std' => $soundex_std, 'soundex_dm' => $soundex_dm, 'ged' => $tree->name()])) ?>"></div> 46dd6b2bfcSGreg Roach<?php endif ?> 47