fixes v12
This commit is contained in:
@@ -1,40 +1,31 @@
|
||||
<form
|
||||
class="{{cssClass}}"
|
||||
autocomplete="off"
|
||||
>
|
||||
<header class="sheet-header">
|
||||
<img
|
||||
class="profile-img"
|
||||
src="{{item.img}}"
|
||||
data-edit="img"
|
||||
title="{{item.name}}"
|
||||
/>
|
||||
<div class="header-fields">
|
||||
<h1 class="charname"><input
|
||||
name="name"
|
||||
type="text"
|
||||
value="{{item.name}}"
|
||||
placeholder="Name"
|
||||
/></h1>
|
||||
<select
|
||||
name="system.skill"
|
||||
class="skill-select"
|
||||
>
|
||||
{{#select system.skill}}
|
||||
{{#each @root.config.skillCategories as |skillCategory sckey|}}
|
||||
<form class="{{cssClass}}" autocomplete="off">
|
||||
<header class="sheet-header">
|
||||
<img class="profile-img" src="{{item.img}}" data-edit="img" title="{{item.name}}"/>
|
||||
<div class="header-fields">
|
||||
<h1 class="charname"><input name="name" type="text" value="{{item.name}}" placeholder="Name"/></h1>
|
||||
<select name="system.skill" class="skill-select">
|
||||
{{#each @root.config.skillCategories as |skillCategory sckey|}}
|
||||
{{log skillCategory}}
|
||||
|
||||
<optgroup label="{{ smarttlk 'SKILLS_CATEGORIES' sckey 'name' }}">
|
||||
{{#each @root.config.model.Actor.character.skills as |skill key|}}
|
||||
{{#ife skill.category sckey}}
|
||||
<option value="{{key}}">{{ smarttlk 'SKILLS' key 'name' }}</option>
|
||||
{{/ife}}
|
||||
{{/each}}
|
||||
</optgroup>
|
||||
{{/each}}
|
||||
{{/select}}
|
||||
</select>
|
||||
|
||||
</div>
|
||||
</header>
|
||||
<optgroup label="{{ smarttlk 'SKILLS_CATEGORIES' sckey 'name' }}">
|
||||
{{log "_____________________________________________==========="}}
|
||||
|
||||
</form>
|
||||
{{log @root.config}}
|
||||
|
||||
|
||||
{{#each @root.config.model.Actor.character.skills as |skill key|}}
|
||||
|
||||
|
||||
{{#ife skill.category sckey}}
|
||||
<option value="{{key}}" {{#ife key @root.item.system.skill}} selected {{/ife}}>{{ smarttlk 'SKILLS' key 'name' }}</option>
|
||||
{{/ife}}
|
||||
{{/each}}
|
||||
</optgroup>
|
||||
{{/each}}
|
||||
</select>
|
||||
|
||||
</div>
|
||||
</header>
|
||||
|
||||
</form>
|
||||
|
||||
Reference in New Issue
Block a user