Files
fvtt-adventures-with-emmy/templates/field.hbs
T
2026-03-05 22:50:53 +01:00

40 lines
1.5 KiB
Handlebars
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<section>
<div class="item-header">
<img class="item-img" src="{{item.img}}" data-edit="img" data-action="editImage" data-tooltip="{{item.name}}" />
{{formInput fields.name value=source.name}}
</div>
<div class="item-body">
<div class="form-group">
<label>{{localize "AWEMMY.Field.KeyAttribute"}}</label>
{{formField systemFields.keyAttribute value=system.keyAttribute localize=true}}
</div>
<div class="form-group">
<label>{{localize "AWEMMY.Field.KeyAttribute2"}}</label>
{{formField systemFields.keyAttribute2 value=system.keyAttribute2 localize=true}}
</div>
<div class="form-group">
<label>{{localize "AWEMMY.Field.KnowledgeBonus"}}</label>
{{formInput systemFields.knowledgeBonus value=system.knowledgeBonus}}
</div>
<div class="form-group">
<label>{{localize "AWEMMY.Field.Specializations"}}</label>
<div class="tags-list">
{{#each system.specializations}}
<span class="tag">{{this}} <a data-action="removeSpecialization" data-index="{{@index}}">×</a></span>
{{/each}}
<input type="text" class="new-tag" data-action="addSpecialization" placeholder="{{localize 'AWEMMY.Field.AddSpecialization'}}" />
</div>
</div>
</div>
<fieldset>
<legend>Description</legend>
{{formInput
systemFields.description
enriched=enrichedDescription
value=system.description
name="system.description"
toggled=true
}}
</fieldset>
</section>