address code review comments

This commit is contained in:
Johannes Loher 2021-01-18 19:11:13 +01:00
parent fc144aa3f6
commit 7e4c5059ca
5 changed files with 8 additions and 9 deletions

View file

@ -1,4 +1,3 @@
{{!-- TODO: For items list: only show header, if list is not empty --}}
{{!-- TODO: Refactor to avoid code duplication with special-creature-abilites-overview and talents-overview --}}
{{!-- ======================================================================== --}}

View file

@ -3,8 +3,8 @@
<div class="grid grid-3col basic-properties">
<div class="basic-property">
<label>{{localize "DS4.SpecialCreatureAbilityExperiencePoints"}}</label>
<input type="number" name="data.experiencePoints" value="{{data.experiencePoints}}" placeholder="0"
data-dtype="Number" />
<input type="number" min="0" step="1" name="data.experiencePoints" value="{{data.experiencePoints}}"
placeholder="0" data-dtype="Number" />
</div>
</div>
{{/systems/ds4/templates/item/partials/sheet-header.hbs}}