update summonCosts application
This commit is contained in:
@@ -1,8 +1,4 @@
|
||||
<form class='flexcol'>
|
||||
<!-- vim: set ft=handlebars.html:-->
|
||||
<header class='sheet-header'>
|
||||
<h2>Set Summon Parameters</h2>
|
||||
</header>
|
||||
<section>
|
||||
<table class="mbForm">
|
||||
<thead>
|
||||
<tr>
|
||||
@@ -13,7 +9,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
{{#each powers}}
|
||||
<th>{{this}}?</th>
|
||||
<th>{{this}}?</th>
|
||||
{{/each}}
|
||||
</tr>
|
||||
</thead>
|
||||
@@ -22,23 +18,12 @@
|
||||
<tr>
|
||||
<td>{{actor.folder}}</td>
|
||||
<td>{{actor.name}}</td>
|
||||
<td><input type="number"
|
||||
value="{{summon.cost}}"
|
||||
name="{{actor.fullName}}:;:cost"
|
||||
step="1"
|
||||
min="0"/></td>
|
||||
<td><input type="number" value="{{summon.cost}}" name="{{actor.fullName}}:;:cost" step="1" min="0" /></td>
|
||||
{{#each summon.powers}}
|
||||
<td align="center"><input
|
||||
type="checkbox"
|
||||
name="{{../actor.fullName}}:;:{{power}}"
|
||||
{{checked value}}></td>
|
||||
<td align="center"><input type="checkbox" name="{{../actor.fullName}}:;:{{power}}" {{checked value}}></td>
|
||||
{{/each}}
|
||||
</tr>
|
||||
{{/each}}
|
||||
</tbody>
|
||||
</table>
|
||||
<footer class="sheet-footer flexrow">
|
||||
<button type="submit" name="submit" value="submit">Submit</button>
|
||||
<button type="submit" name="submit" value="cancel">Cancel</button>
|
||||
</footer>
|
||||
</form>
|
||||
</section>
|
||||
|
||||
Reference in New Issue
Block a user