Implement the custom options helper (closes #92)
This commit is contained in:
parent
0e8d1615a7
commit
7516e7b42b
3 changed files with 35 additions and 8 deletions
|
|
@ -19,14 +19,7 @@
|
|||
name="system.stats.{{stat.key}}"
|
||||
class="e-2dp"
|
||||
>
|
||||
{{#select stat.value}}
|
||||
<option value="">---</option>
|
||||
{{#each stat.dieOptions as | die |}}
|
||||
<option value="{{die.value}}" {{disabled die.disabled}}>
|
||||
{{die.label}}
|
||||
</option>
|
||||
{{/each}}
|
||||
{{/select}}
|
||||
{{{dd-options stat.value stat.dieOptions}}}
|
||||
</select>
|
||||
<button type="button" class="e-2dp">
|
||||
Roll
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue