Implement the description editing (closes #150)

This commit is contained in:
Oliver-Akins 2024-03-31 11:44:32 -06:00
parent fc065a5234
commit 97ac56dadc
4 changed files with 34 additions and 3 deletions

View file

@ -2,10 +2,16 @@
<div class="photo panel" style="background: yellowgreen"></div>
{{#if meta.isEditable}}
<input type="text" name="name" class="name panel h1" value="{{item.name}}">
<textarea
name="system.description"
class="description panel no-resize"
>{{system.description}}</textarea>
{{else}}
<h1 class="name panel--row">
{{item.name}}
</h1>
<div class="description panel">
{{system.description}}
</div>
{{/if}}
<div class="description panel"></div>
</div>