taf/templates/GenericItemSheet/content.hbs

38 lines
751 B
Handlebars

<div class="content">
<div class="property">
<label for="">
Weight
</label>
<input
type="number"
name="system.weight"
value="{{system.weight}}"
{{disabled (not meta.editable)}}
>
</div>
<div class="property">
<label for="">
Equipped
</label>
<input
type="checkbox"
name="system.equipped"
{{checked system.equipped}}
{{disabled (not meta.editable)}}
>
</div>
<div class="bordered description">
{{#if meta.editable}}
<prose-mirror
name="system.description"
value="{{system.description}}"
collaborate="true"
data-document-uuid="{{item.uuid}}"
>
{{{ enriched.system.description }}}
</prose-mirror>
{{else}}
{{{ enriched.system.description }}}
{{/if}}
</div>
</div>