changed char special characteristics to textarea
This commit is contained in:
parent
4c8bd29e2e
commit
b1e7f61ed5
2 changed files with 23 additions and 17 deletions
|
@ -84,24 +84,24 @@
|
||||||
<a class="item" data-tab="biography">{{localize 'DS4.HeadingBiography'}}</a>
|
<a class="item" data-tab="biography">{{localize 'DS4.HeadingBiography'}}</a>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
{{!-- Sheet Body --}}
|
{{!-- Sheet Body (remove indentation to avoid annoying Handlebars auto-indent) --}}
|
||||||
<section class="sheet-body">
|
<section class="sheet-body">
|
||||||
{{!-- Items Tab --}}
|
{{!-- Items Tab --}}
|
||||||
{{> systems/ds4/templates/actor/partials/character-inventory.hbs}}
|
{{> systems/ds4/templates/actor/partials/character-inventory.hbs}}
|
||||||
|
|
||||||
{{!-- Spells Tab --}}
|
{{!-- Spells Tab --}}
|
||||||
{{> systems/ds4/templates/actor/partials/spells-overview.hbs}}
|
{{> systems/ds4/templates/actor/partials/spells-overview.hbs}}
|
||||||
|
|
||||||
{{!-- Talents Tab --}}
|
{{!-- Talents Tab --}}
|
||||||
{{> systems/ds4/templates/actor/partials/talents-abilities-overview.hbs}}
|
{{> systems/ds4/templates/actor/partials/talents-abilities-overview.hbs}}
|
||||||
|
|
||||||
{{! Profile Tab --}}
|
{{! Profile Tab --}}
|
||||||
{{> systems/ds4/templates/actor/partials/profile.hbs}}
|
{{> systems/ds4/templates/actor/partials/profile.hbs owner=owner}}
|
||||||
|
|
||||||
{{!-- Biography Tab --}}
|
{{!-- Biography Tab --}}
|
||||||
<div class="tab biography" data-group="primary" data-tab="biography">
|
<div class="tab biography" data-group="primary" data-tab="biography">
|
||||||
{{editor content=data.profile.biography target="data.profile.biography" button=true owner=owner
|
{{editor content=data.profile.biography target="data.profile.biography" button=true owner=owner
|
||||||
editable=editable}}
|
editable=editable}}
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
</form>
|
</form>
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<div class="tab profile" data-group="primary" data-tab="profile">
|
<div class="tab profile" data-group="primary" data-tab="profile">
|
||||||
<div class="grid grid-2col">
|
<div class="grid grid-2col">
|
||||||
{{#each data.profile as |profile-data-value profile-data-key|}}
|
{{#each data.profile as |profile-data-value profile-data-key|}}
|
||||||
{{#if (ne profile-data-key 'biography')}}
|
{{#if (and (ne profile-data-key 'biography') (ne profile-data-key 'specialCharacteristics'))}}
|
||||||
<div class="profile-entry">
|
<div class="profile-entry">
|
||||||
<label for="data.profile.{{profile-data-key}}">
|
<label for="data.profile.{{profile-data-key}}">
|
||||||
{{lookup ../config.characterProfile profile-data-key}}
|
{{lookup ../config.characterProfile profile-data-key}}
|
||||||
|
@ -11,5 +11,11 @@
|
||||||
</div>
|
</div>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{/each}}
|
{{/each}}
|
||||||
|
<div>
|
||||||
|
<label for="data.profile.specialCharacteristics">
|
||||||
|
{{lookup config.characterProfile 'specialCharacteristics'}}
|
||||||
|
</label>
|
||||||
|
<textarea name="data.profile.specialCharacteristics" data-dtype="String" rows="4">{{data.profile.specialCharacteristics}}</textarea>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue