2021-07-10 21:02:48 +02:00
|
|
|
{{!--
|
|
|
|
SPDX-FileCopyrightText: 2021 Johannes Loher
|
|
|
|
SPDX-FileCopyrightText: 2021 Gesina Schwalbe
|
|
|
|
|
|
|
|
SPDX-License-Identifier: MIT
|
|
|
|
--}}
|
|
|
|
|
|
|
|
<div class="ds4-profile">
|
2022-11-21 03:00:46 +01:00
|
|
|
{{#each data.system.profile as |profile-data-value profile-data-key|}}
|
2021-07-10 21:02:48 +02:00
|
|
|
{{#if (and (ne profile-data-key 'biography') (ne profile-data-key 'specialCharacteristics'))}}
|
|
|
|
<div class="ds4-profile__entry">
|
2022-11-21 03:00:46 +01:00
|
|
|
<label class="ds4-profile__entry-label" for="system.profile.{{profile-data-key}}">
|
2021-07-10 21:02:48 +02:00
|
|
|
{{lookup ../config.i18n.characterProfile profile-data-key}}
|
|
|
|
</label>
|
2022-11-21 03:00:46 +01:00
|
|
|
<input class="ds4-profile__entry-input" type="text" name="system.profile.{{profile-data-key}}"
|
2021-07-10 21:02:48 +02:00
|
|
|
value="{{profile-data-value}}"
|
|
|
|
data-dtype="{{lookup ../config.i18n.characterProfileDTypes profile-data-key}}" />
|
|
|
|
</div>
|
|
|
|
{{/if}}
|
|
|
|
{{/each}}
|
|
|
|
<div class="ds4-profile__entry">
|
2022-11-21 03:00:46 +01:00
|
|
|
<label class="ds4-profile__entry-label" for="system.profile.specialCharacteristics">
|
2021-07-10 21:02:48 +02:00
|
|
|
{{lookup config.i18n.characterProfile 'specialCharacteristics'}}
|
|
|
|
</label>
|
|
|
|
<textarea class="ds4-profile__entry-input ds4-profile__entry-input--multiline"
|
2022-11-21 03:00:46 +01:00
|
|
|
name="system.profile.specialCharacteristics" data-dtype="String"
|
|
|
|
rows="4">{{data.system.profile.specialCharacteristics}}</textarea>
|
2021-07-10 21:02:48 +02:00
|
|
|
</div>
|
|
|
|
</div>
|