<?php

use Fisharebest\Webtrees\Functions\FunctionsEdit;
use Fisharebest\Webtrees\I18N;
use Fisharebest\Webtrees\Tree;

/**
 * @var int  $level
 * @var Tree $tree
 */

?>

<div class="card mb-4">
    <a class="card-header" href="#" data-toggle="collapse" data-target="#add-note" aria-expanded="false" aria-controls="add-note">
        <?= I18N::translate('Note') ?>
    </a>

    <div class="card-body collapse" id="add-note">
        <?= FunctionsEdit::addSimpleTag($tree, $level . ' NOTE') ?>
    </div>
</div>
