summaryrefslogtreecommitdiff
path: root/resources/views/cards/add-restriction.phtml
diff options
context:
space:
mode:
Diffstat (limited to 'resources/views/cards/add-restriction.phtml')
-rw-r--r--resources/views/cards/add-restriction.phtml14
1 files changed, 14 insertions, 0 deletions
diff --git a/resources/views/cards/add-restriction.phtml b/resources/views/cards/add-restriction.phtml
new file mode 100644
index 0000000000..6f5698212d
--- /dev/null
+++ b/resources/views/cards/add-restriction.phtml
@@ -0,0 +1,14 @@
+<?php use Fisharebest\Webtrees\Functions\FunctionsEdit; ?>
+<?php use Fisharebest\Webtrees\I18N; ?>
+
+<div class="card mb-4">
+ <div class="card-header">
+ <a href="#" data-toggle="collapse" data-target="#add-restriction" aria-expanded="false" aria-controls="add-restriction">
+ <?= I18N::translate('Add a restriction') ?>
+ </a>
+ </div>
+
+ <div class="card-body collapse" id="add-restriction">
+ <?= FunctionsEdit::addSimpleTag($tree, $level . ' RESN') ?>
+ </div>
+</div>