1*dd6b2bfcSGreg Roach<?php use Fisharebest\Webtrees\I18N; ?> 2*dd6b2bfcSGreg Roach 3*dd6b2bfcSGreg Roach<h2><?= $title ?></h2> 4*dd6b2bfcSGreg Roach 5*dd6b2bfcSGreg Roach<form method="post" action="<?= e(route('message')) ?>"> 6*dd6b2bfcSGreg Roach <?= csrf_field() ?> 7*dd6b2bfcSGreg Roach <input type="hidden" name="url" value="<?= e($url) ?>"> 8*dd6b2bfcSGreg Roach <input type="hidden" name="ged" value="<?= e($tree->getName()) ?>"> 9*dd6b2bfcSGreg Roach 10*dd6b2bfcSGreg Roach <div class="form-group row"> 11*dd6b2bfcSGreg Roach <label class="col-sm-3 col-form-label" for="from"> 12*dd6b2bfcSGreg Roach <?= I18N::translate('From') ?> 13*dd6b2bfcSGreg Roach </label> 14*dd6b2bfcSGreg Roach <div class="col-sm-9"> 15*dd6b2bfcSGreg Roach <input class="form-control" id="from" type="text" value="<?= e($from->getRealName()) ?>" disabled> 16*dd6b2bfcSGreg Roach </div> 17*dd6b2bfcSGreg Roach </div> 18*dd6b2bfcSGreg Roach 19*dd6b2bfcSGreg Roach <div class="form-group row"> 20*dd6b2bfcSGreg Roach <label class="col-sm-3 col-form-label" for="to"> 21*dd6b2bfcSGreg Roach <?= I18N::translate('To') ?> 22*dd6b2bfcSGreg Roach </label> 23*dd6b2bfcSGreg Roach <div class="col-sm-9"> 24*dd6b2bfcSGreg Roach <input type="hidden" name="to" value="<?= e($to->getUserName()) ?>"> 25*dd6b2bfcSGreg Roach <input class="form-control" id="to" type="text" value="<?= e($to->getRealName()) ?>" disabled> 26*dd6b2bfcSGreg Roach </div> 27*dd6b2bfcSGreg Roach </div> 28*dd6b2bfcSGreg Roach 29*dd6b2bfcSGreg Roach <div class="form-group row"> 30*dd6b2bfcSGreg Roach <label class="col-sm-3 col-form-label" for="subject"> 31*dd6b2bfcSGreg Roach <?= I18N::translate('Subject') ?> 32*dd6b2bfcSGreg Roach </label> 33*dd6b2bfcSGreg Roach <div class="col-sm-9"> 34*dd6b2bfcSGreg Roach <input class="form-control" id="subject" type="text" name="subject" value="<?= e($subject) ?>" required> 35*dd6b2bfcSGreg Roach </div> 36*dd6b2bfcSGreg Roach </div> 37*dd6b2bfcSGreg Roach 38*dd6b2bfcSGreg Roach <div class="form-group row"> 39*dd6b2bfcSGreg Roach <label class="col-sm-3 col-form-label" for="body"> 40*dd6b2bfcSGreg Roach <?= I18N::translate('Message') ?> 41*dd6b2bfcSGreg Roach </label> 42*dd6b2bfcSGreg Roach <div class="col-sm-9"> 43*dd6b2bfcSGreg Roach <textarea class="form-control" id="body" rows="5" type="text" name="body" required><?= e($body) ?></textarea> 44*dd6b2bfcSGreg Roach </div> 45*dd6b2bfcSGreg Roach </div> 46*dd6b2bfcSGreg Roach 47*dd6b2bfcSGreg Roach <div class="form-group row"> 48*dd6b2bfcSGreg Roach <div class="col-sm-3 col-form-label"></div> 49*dd6b2bfcSGreg Roach <div class="col-sm-9"> 50*dd6b2bfcSGreg Roach <button type="submit" class="btn btn-primary"> 51*dd6b2bfcSGreg Roach <?= I18N::translate('Send') ?> 52*dd6b2bfcSGreg Roach </button> 53*dd6b2bfcSGreg Roach <a class="btn btn-link" href="<?= e($url) ?>"> 54*dd6b2bfcSGreg Roach <?= I18N::translate('cancel') ?> 55*dd6b2bfcSGreg Roach </a> 56*dd6b2bfcSGreg Roach </div> 57*dd6b2bfcSGreg Roach </div> 58*dd6b2bfcSGreg Roach</form> 59