-
Notifications
You must be signed in to change notification settings - Fork 309
/
item-attacher.hbs
29 lines (25 loc) · 917 Bytes
/
item-attacher.hbs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<div class="content">
<div class="form-group">
<div class="attachment">
<img src="{{item.img}}" />
</div>
<span class="arrow">
<i class="fa-solid fa-paperclip"></i>
</span>
<select class="choices" data-choices>
{{#each choices as |choice|}}
<option value="{{choice.value}}"{{#if (eq choice.value 0)}} selected{{/if}}>{{choice.label}}</option>
{{/each}}
</select>
</div>
<hr />
<footer>
<button type="button" data-action="pick" value="0">{{localize "Attach"}}</button>
{{#if item.actor.skills.crafting}}
<label class="check">
<input type="checkbox" data-crafting-check {{checked (not user.isGM)}} />
<span>{{localize "PF2E.Item.Physical.Attach.CraftingCheck"}}</span>
</label>
{{/if}}
</footer>
</div>