1234567891011121314151617181920212223242526 |
- <div class="page-header">
- <h2><?= $title ?></h2>
- <h3><?= $subtitle ?></h3>
- </div>
- <form method="post" action="<?= $this->url->href('TemplateController', 'save', ['plugin' => 'OMITemplateModder', 'template_index' => $templateIndex]) ?>">
- <?= $this->form->csrf() ?>
-
- <div class="form-group">
- <label for="form-content">
- <?= t('Template Content') ?>
-
- </label>
- <textarea name="content" id="form-content" class="form-textarea" rows="20" style="width:100%; font-family: monospace;"><?= $templateContent ?></textarea>
- </div>
-
- <div class="form-actions">
- <button type="submit" class="btn btn-blue">
- <?= t("Save") ?>
-
- </button>
- <?= $this->url->link(t("Cancel"), "TemplateController", "show", ["plugin" => "OMITemplateModder"], false, "btn") ?>
-
- </div>
- </form>
|