Implement the Attribute sheet for editing
This commit is contained in:
parent
599789ec13
commit
e8c73de6bd
8 changed files with 242 additions and 0 deletions
37
templates/AttributeItemSheet/value.hbs
Normal file
37
templates/AttributeItemSheet/value.hbs
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
<div class="value-controls">
|
||||
<label for="{{meta.idp}}-min">
|
||||
Minimum
|
||||
</label>
|
||||
<input
|
||||
type="number"
|
||||
id="{{meta.idp}}-min"
|
||||
name="system.min"
|
||||
value="{{system.min}}"
|
||||
{{#if system.isRange}}placeholder="0"{{/if}}
|
||||
{{disabled (not meta.editable)}}
|
||||
>
|
||||
|
||||
<label for="{{meta.idp}}-value">
|
||||
Current Value
|
||||
</label>
|
||||
<input
|
||||
type="number"
|
||||
id="{{meta.idp}}-value"
|
||||
name="system.value"
|
||||
value="{{system.value}}"
|
||||
min="{{system.min}}"
|
||||
max="{{system.max}}"
|
||||
{{disabled (not meta.editable)}}
|
||||
>
|
||||
|
||||
<label for="{{meta.idp}}-max">
|
||||
Maximum
|
||||
</label>
|
||||
<input
|
||||
type="number"
|
||||
id="{{meta.idp}}-max"
|
||||
name="system.max"
|
||||
value="{{system.max}}"
|
||||
{{disabled (not meta.editable)}}
|
||||
>
|
||||
</div>
|
||||
Loading…
Add table
Add a link
Reference in a new issue