1<?php 2 3use Fisharebest\Webtrees\Http\RequestHandlers\ControlPanel; 4use Fisharebest\Webtrees\I18N; 5 6?> 7 8<?= view('components/breadcrumbs', ['links' => [route(ControlPanel::class) => I18N::translate('Control panel'), route('modules') => I18N::translate('Modules'), route('analytics') => I18N::translate('Tracking and analytics'), $title]]) ?> 9 10<h1><?= $title ?></h1> 11 12<form method="post" action="<?= e($action) ?>" class="form-horizontal"> 13 <?= csrf_field() ?> 14 <?= $form_fields ?> 15 16 <div class="row form-group"> 17 <label class="col-sm-3" for="preview"> 18 <?= I18N::translate('Preview') ?> 19 </label> 20 21 <div class="col-sm-9"> 22 <textarea id="preview" class="form-control" rows="10" dir="ltr" disabled><?= e($preview) ?></textarea> 23 </div> 24 </div> 25 26 27 <div class="row form-group"> 28 <div class="offset-sm-3 col-sm-9"> 29 <button type="submit" class="btn btn-primary"> 30 <?= view('icons/save') ?> 31 <?= I18N::translate('save') ?> 32 </button> 33 34 <a href="<?= e(route('analytics')) ?>" class="btn btn-secondary"> 35 <?= view('icons/cancel') ?> 36 <?= I18N::translate('cancel') ?> 37 </a> 38 </div> 39 </div> 40</form> 41