Refactor Radio Inputs to Labels for hit tracker
This commit is contained in:
parent
3458f39973
commit
395bfa1616
4 changed files with 37 additions and 41 deletions
|
@ -5,14 +5,16 @@
|
|||
include .././components/_abilityBox
|
||||
.healthBox
|
||||
h2 Health
|
||||
input(type="number" name="attr_physicalhealth" disabled="true" value="@{physicalHealth}")
|
||||
.healthWrapper
|
||||
.healthContainer
|
||||
label.healthTrackerBox.reset
|
||||
input.hidden.vis(type="radio" name="attr_physicalHealth" value="0" checked="checked")
|
||||
label.healthTrackerBox
|
||||
input.hidden.vis(type="radio" name="attr_physicalHealth" value="1")
|
||||
label.healthTrackerBox
|
||||
input.hidden.vis(type="radio" name="attr_physicalHealth" value="2")
|
||||
label.healthTrackerBox
|
||||
input.hidden.vis(type="radio" name="attr_physicalHealth" value="3")
|
||||
input.hidden.disp(id="physK0" type="radio" name="attr_physicalHealth" value="0" checked="checked")
|
||||
label.healthTrackerBox.reset(for="physK0")
|
||||
input.hidden.disp(id="physK1" type="radio" name="attr_physicalHealth" value="1")
|
||||
label.healthTrackerBox(for="physK1")
|
||||
input.hidden.disp(id="physK2" type="radio" name="attr_physicalHealth" value="2")
|
||||
label.healthTrackerBox(for="physK2")
|
||||
input.hidden.disp(id="physK3" type="radio" name="attr_physicalHealth" value="3")
|
||||
label.healthTrackerBox(for="physK3")
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue