web/admin: add note that attributes are yaml/json

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer
2021-04-09 14:30:49 +02:00
parent e7346317bb
commit 23f269d676
8 changed files with 25 additions and 4 deletions

View File

@ -77,6 +77,7 @@ export class PolicyTestForm extends Form<PolicyTest> {
name="context">
<ak-codemirror mode="yaml">
</ak-codemirror>
<p class="pf-c-form__helper-text">${t`Set custom attributes using YAML or JSON.`}</p>
</ak-form-element-horizontal>
${this.result ? this.renderResult(): html``}
</form>`;