registration-api/templates/control-contenteditable.html

6 lines
312 B
HTML

<script type="text/x-handlebars-template">
<p id="{{id}}" {{#if name}}name="{{name}}"{{/if}} {{#if options.readonly}}readonly="readonly"{{else}}contenteditable="true"{{/if}} {{#each options.data}}data-{{@key}}="{{this}}"{{/each}} {{#each options.attributes}}{{@key}}="{{this}}"{{/each}}>
</p>
</script>