Add the item UUID into the fieldset and add a context menu to edit/delete primary attributes

This commit is contained in:
Oliver 2026-04-23 21:18:57 -06:00
parent 60d29adc3e
commit e9d92d3db1
2 changed files with 31 additions and 1 deletions

View file

@ -1,7 +1,11 @@
{{#if hasAttributes}}
<div class="attributes">
{{#each attrs as | attr |}}
<fieldset data-foreign-uuid="{{ attr.uuid }}">
<fieldset
class="attribute"
data-item-uuid="{{ attr.uuid }}"
data-foreign-uuid="{{ attr.uuid }}"
>
<legend>
{{ attr.name }}
</legend>