1<?php use Fisharebest\Webtrees\I18N; ?> 2 3<h2 class="wt-page-title"> 4 <?= $title ?> 5</h2> 6 7<form method="post" action="<?= e(route('search-replace', ['tree' => $tree->name()])) ?>" class="wt-page-options wt-page-options-ancestors-chart hidden-print"> 8 <?= csrf_field() ?> 9 10 <div class="row form-group"> 11 <label class="col-sm-3 col-form-label wt-page-options-label" for="search"> 12 <?= I18N::translate('Search for') ?> 13 </label> 14 <div class="col-sm-9 wt-page-options-value"> 15 <input class="form-control form-control-sm" id="search" name="search" value="<?= e($search) ?>" type="text" autofocus> 16 </div> 17 </div> 18 19 <div class="row form-group"> 20 <label class="col-sm-3 col-form-label wt-page-options-label" for="replace"> 21 <?= I18N::translate('Replace with') ?> 22 </label> 23 <div class="col-sm-9 wt-page-options-value"> 24 <input class="form-control form-control-sm" id="replace" name="replace" value="<?= e($replace) ?>" type="text"> 25 </div> 26 </div> 27 28 <div class="row form-group"> 29 <label class="col-sm-3 col-form-label wt-page-options-label"> 30 <?= /* I18N: A button label. */ I18N::translate('Search') ?> 31 </label> 32 <div class="col-sm-9 wt-page-options-value"> 33 <?= view('components/radios-inline', ['name' => 'context', 'options' => ['all' => I18N::translate('Entire record'), 'name' => I18N::translate('Names'), 'place' => I18N::translate('Places')], 'selected' => $context]) ?> 34 </div> 35 </div> 36 <div class="row form-group"> 37 <label class="col-sm-3 col-form-label wt-page-options-label"></label> 38 <div class="col-sm-9 wt-page-options-value"> 39 <input class="btn btn-primary" type="submit" value="<?= /* I18N: A button label. */ I18N::translate('replace') ?>"> 40 </div> 41 </div> 42</form> 43