fix: Origine des PNJ en texte libre (remplace la dropdown)
This commit is contained in:
@@ -117,14 +117,7 @@
|
||||
<label for="system.identity.origin" class="resource-label">{{ localize 'ORIGIN' }}</label>
|
||||
<div class="resource-content">
|
||||
{{#if isEditMode}}
|
||||
<select name="system.identity.origin" id="system.identity.origin" data-dtype="String">
|
||||
<option value="">{{ localize 'NONE' }}</option>
|
||||
{{#each originOptions}}
|
||||
<option value="{{@key}}" {{#ife @key @root.system.identity.origin}}selected{{/ife}}>
|
||||
{{this}}
|
||||
</option>
|
||||
{{/each}}
|
||||
</select>
|
||||
<input type="text" name="system.identity.origin" id="system.identity.origin" value="{{system.identity.origin}}" data-dtype="String" placeholder="{{ localize 'ORIGIN' }}"/>
|
||||
{{else}}
|
||||
<span>{{system.identity.origin}}</span>
|
||||
{{/if}}
|
||||
|
||||
Reference in New Issue
Block a user