1<?php use Fisharebest\Webtrees\I18N; ?> 2 3<h2 class="wt-page-title"><?= $title ?></h2> 4 5<form method="post" action="<?= e($action) ?>" class="wt-page-options wt-page-options-clippings d-print-none"> 6 <?= csrf_field() ?> 7 8 <div class="row form-group"> 9 <div class="col-sm-3 col-form-label wt-page-options-label"> 10 <?= I18N::translate('Add to the clippings cart') ?> 11 </div> 12 <div class="col-sm-9 wt-page-options-value"> 13 <?= view('components/radios', ['name' => 'option', 'options' => $options, 'selected' => $default]) ?> 14 </div> 15 </div> 16 17 <div class="row form-group"> 18 <div class="col-sm-3 wt-page-options-label"></div> 19 <div class="col-sm-9 wt-page-options-value"> 20 <button type="submit" class="btn btn-primary"> 21 <?= view('icons/save') ?> 22 <?= /* I18N: A button label. */ I18N::translate('continue') ?> 23 </button> 24 25 <a class="btn btn-secondary" href="<?= e($record->url()) ?>"> 26 <?= view('icons/cancel') ?> 27 <?= /* I18N: A button label. */ I18N::translate('cancel') ?> 28 </a> 29 </div> 30 </div> 31</form> 32