1<?php use Fisharebest\Webtrees\I18N; ?> 2 3<h2 class="wt-page-title"><?= $title ?></h2> 4 5<form method="post" action="<?= e(route('edit-note-object-action', ['tree' => $tree->name(), 'xref' => $note->xref()])) ?>" class="wt-page-options"> 6 <?= csrf_field() ?> 7 8 <div class="row form-group"> 9 <label class="col-sm-3 col-form-label wt-page-options-label" for="NOTE"> 10 <?= I18N::translate('Shared note') ?> 11 </label> 12 13 <div class="col-sm-9 wt-page-options-value"> 14 <textarea class="form-control" name="NOTE" id="NOTE" rows="10" dir="auto"><?= e($note->getNote()) ?></textarea> 15 16 <a class="wt-osk-trigger" data-id="NOTE" href="#" title="<?= I18N::translate('Find a special character') ?>"> 17 <?= view('icons/keyboard') ?> 18 <span class="sr-only"><?= I18N::translate('Find a special character') ?></span> 19 </a> 20 </div> 21 </div> 22 23 <div class="row form-group"> 24 <div class="col-sm-9 offset-sm-3"> 25 <button class="btn btn-primary" type="submit"> 26 <?= view('icons/save') ?> 27 <?= /* I18N: A button label. */ 28 I18N::translate('save') ?> 29 </button> 30 <a class="btn btn-secondary" href="<?= e($note->url()) ?>"> 31 <?= view('icons/cancel') ?> 32 <?= /* I18N: A button label. */ 33 I18N::translate('cancel') ?> 34 </a> 35 </div> 36 </div> 37</form> 38<?= view('modals/on-screen-keyboard') ?> 39