generated from League-of-Foundry-Developers/FoundryVTT-Module-Template
-
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
93 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,41 @@ | ||
<form id="summon-form"> | ||
{{#if (ne createSummons null)}} | ||
<div class="form-group"> | ||
<label class="checkbox"> | ||
<input type="checkbox" name="createSummons" {{checked createSummons}} /> | ||
Place Summons | ||
<input type="checkbox" name="createSummons" {{ checked createSummons }}> | ||
{{ localize "DND5E.Summoning.Action.Place" }} | ||
</label> | ||
{{#if profiles}} | ||
<div class="form-fields"> | ||
<select name="summonsProfile" aria-label="Summons Profile"> | ||
{{#each summonProfiles as |profile|}} | ||
<option value="{{profile.key}}">{{profile.value}}</option> | ||
{{/each}} | ||
<select name="summonsProfile" aria-label="{{ localize 'DND5E.Summoning.Profile.Label' }}"> | ||
{{ selectOptions profiles selected=summonsProfile }} | ||
</select> | ||
</div> | ||
{{else}} | ||
<input type="hidden" name="summonsProfile" value="{{ profile }}"> | ||
{{/if}} | ||
</div> | ||
|
||
{{#if creatureSizes}} | ||
<div class="form-group"> | ||
<label>Creature Type</label> | ||
<label>{{ localize "DND5E.Size" }}</label> | ||
<div class="form-fields"> | ||
<select name="creatureSize"> | ||
{{ selectOptions creatureSizes }} | ||
</select> | ||
</div> | ||
</div> | ||
{{/if}} | ||
|
||
{{#if creatureTypes}} | ||
<div class="form-group"> | ||
<label>{{ localize "DND5E.CreatureType" }}</label> | ||
<div class="form-fields"> | ||
<select name="creatureType"> | ||
{{#each creatureTypes as |type|}} | ||
<option value="{{type.key}}">{{type.value}}</option> | ||
{{/each}} | ||
{{ selectOptions creatureTypes }} | ||
</select> | ||
</div> | ||
</div> | ||
{{/if}} | ||
{{/if}} | ||
</form> |