form.php 696 B

1234567891011121314
  1. <h2><?= $form_headline ?></h2>
  2. <form method="post" action="<?= $this->url->href('EncryptedContentController', 'updateTask', ['plugin' => 'encryptedContent', 'task_id' => $task['id'], 'project_id' => $project['id']]) ?>" autocomplete="off">
  3. <?= $this->form->csrf() ?>
  4. <?= $this->form->hidden('name', $values) ?>
  5. <div>
  6. <?= $this->form->hidden('key', $values) ?>
  7. </div>
  8. <div>
  9. <?= $this->form->label(t('Content'), 'Content') ?>
  10. <?= $this->EncryptedContentHelper->renderEncryptedtextEditor('value', $values, ['required', 'placeholder="'.t('Content').'"']) ?>
  11. </div>
  12. <input type="submit" value="<?= t('Update') ?>" class="btn btn-blue"/>
  13. </form>