Update tarot management
This commit is contained in:
@ -23,16 +23,27 @@
|
||||
<div class="tab" data-group="primary">
|
||||
<ul>
|
||||
|
||||
<li class="flexrow">
|
||||
<label class="item-field-label-long">Type </label>
|
||||
<select class="item-field-label-long" type="text" name="system.tarottype" value="{{system.tarottype}}" data-dtype="String">
|
||||
{{#select system.tarottype}}
|
||||
{{#each config.tarotType as |type key| }}
|
||||
<option value="{{key}}">{{type}}</option>
|
||||
{{/each}}
|
||||
{{/select}}
|
||||
</select>
|
||||
</li>
|
||||
|
||||
{{#if isGM}}
|
||||
<li class="flexrow">
|
||||
<label class="item-field-label-long">Type </label>
|
||||
<select class="item-field-label-long" type="text" name="system.tarottype" value="{{system.tarottype}}" data-dtype="String">
|
||||
{{#select system.tarottype}}
|
||||
{{#each config.tarotType as |type key| }}
|
||||
<option value="{{key}}">{{type}}</option>
|
||||
{{/each}}
|
||||
{{/select}}
|
||||
</select>
|
||||
<label class="item-field-label-long">En positif ?</label>
|
||||
<input type="checkbox" class="item-field-label-short" name="system.ispositif" {{checked system.ispositif}} />
|
||||
</li>
|
||||
<li class="flexrow">
|
||||
<label class="item-field-label-long">Carte cachée (ie MJ seulement) ?</label>
|
||||
<input type="checkbox" class="item-field-label-short" name="system.isgm" {{checked system.isgm}} />
|
||||
</li>
|
||||
{{/if}}
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user