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