1d70512abSGreg Roach<?php 2d70512abSGreg Roach 3*10e06497SGreg Roachdeclare(strict_types=1); 4*10e06497SGreg Roach 57c2c99faSGreg Roachuse Fisharebest\Webtrees\GedcomRecord; 6d70512abSGreg Roachuse Fisharebest\Webtrees\I18N; 7d70512abSGreg Roach 87c2c99faSGreg Roach/** 97c2c99faSGreg Roach * @var array<string,string> $options 107c2c99faSGreg Roach * @var GedcomRecord $record 117c2c99faSGreg Roach * @var string $title 127c2c99faSGreg Roach */ 137c2c99faSGreg Roach 14d70512abSGreg Roach?> 15dd6b2bfcSGreg Roach 16dd6b2bfcSGreg Roach<h2 class="wt-page-title"><?= $title ?></h2> 17dd6b2bfcSGreg Roach 18f7ab47b1SGreg Roach<form method="post" class="wt-page-options wt-page-options-clippings d-print-none"> 19ac17e2b5SGreg Roach <input type="hidden" name="xref" value="<?= e($record->xref()) ?>"> 20dd6b2bfcSGreg Roach 219e3c2cf9SGreg Roach <div class="row"> 22dd6b2bfcSGreg Roach <div class="col-sm-3 col-form-label wt-page-options-label"> 23dd6b2bfcSGreg Roach <?= I18N::translate('Add to the clippings cart') ?> 24dd6b2bfcSGreg Roach </div> 25dd6b2bfcSGreg Roach <div class="col-sm-9 wt-page-options-value"> 26d45701ccSGreg Roach <?= view('components/radios', ['name' => 'option', 'options' => $options, 'selected' => key($options)]) ?> 27dd6b2bfcSGreg Roach </div> 28dd6b2bfcSGreg Roach </div> 29dd6b2bfcSGreg Roach 309e3c2cf9SGreg Roach <div class="row mb-3"> 31dd6b2bfcSGreg Roach <div class="col-sm-3 wt-page-options-label"></div> 32dd6b2bfcSGreg Roach <div class="col-sm-9 wt-page-options-value"> 33dd6b2bfcSGreg Roach <button type="submit" class="btn btn-primary"> 34d993d560SGreg Roach <?= view('icons/save') ?> 35dd6b2bfcSGreg Roach <?= /* I18N: A button label. */ I18N::translate('continue') ?> 36dd6b2bfcSGreg Roach </button> 37dd6b2bfcSGreg Roach 38dd6b2bfcSGreg Roach <a class="btn btn-secondary" href="<?= e($record->url()) ?>"> 39d993d560SGreg Roach <?= view('icons/cancel') ?> 40dd6b2bfcSGreg Roach <?= /* I18N: A button label. */ I18N::translate('cancel') ?> 41dd6b2bfcSGreg Roach </a> 42dd6b2bfcSGreg Roach </div> 43dd6b2bfcSGreg Roach </div> 4481443e3cSGreg Roach 4581443e3cSGreg Roach <?= csrf_field() ?> 46dd6b2bfcSGreg Roach</form> 47