Add IDs for the label associations
This commit is contained in:
parent
e90e90bfe0
commit
7dfc1bd0c0
1 changed files with 10 additions and 10 deletions
|
|
@ -1,15 +1,15 @@
|
|||
<div class="contents">
|
||||
<div class="contents__left">
|
||||
<label for="">
|
||||
<label for="{{ meta.idp }}-access">
|
||||
{{ rc-i18n "RipCrypt.common.access" }}
|
||||
</label>
|
||||
<select name="system.access" id="">
|
||||
<select name="system.access" id="{{ meta.idp }}-access">
|
||||
{{ rc-options system.access accesses localize=true }}
|
||||
</select>
|
||||
<label for="">
|
||||
<label for="{{ meta.idp }}-weight">
|
||||
{{ rc-i18n "RipCrypt.common.weightRating" }}
|
||||
</label>
|
||||
<select name="system.weight" id="">
|
||||
<select name="system.weight" id="{{ meta.idp }}-weight">
|
||||
{{ rc-options system.weight weights localize=true }}
|
||||
</select>
|
||||
{{#if meta.embedded}}
|
||||
|
|
@ -29,35 +29,35 @@
|
|||
<span slot="title">Cost</span>
|
||||
<div slot="content" class="content">
|
||||
<label
|
||||
for="{{ meta.idp }}"
|
||||
for="{{ meta.idp }}-gold"
|
||||
>
|
||||
Gold
|
||||
</label>
|
||||
<input
|
||||
type="number"
|
||||
id="{{ meta.idp }}"
|
||||
id="{{ meta.idp }}-gold"
|
||||
name="system.cost.gold"
|
||||
value="{{ system.cost.gold }}"
|
||||
>
|
||||
<label
|
||||
for="{{ meta.idp }}"
|
||||
for="{{ meta.idp }}-silver"
|
||||
>
|
||||
Silver
|
||||
</label>
|
||||
<input
|
||||
type="number"
|
||||
id="{{ meta.idp }}"
|
||||
id="{{ meta.idp }}-silver"
|
||||
name="system.cost.silver"
|
||||
value="{{ system.cost.silver }}"
|
||||
>
|
||||
<label
|
||||
for="{{ meta.idp }}"
|
||||
for="{{ meta.idp }}-copper"
|
||||
>
|
||||
Copper
|
||||
</label>
|
||||
<input
|
||||
type="number"
|
||||
id="{{ meta.idp }}"
|
||||
id="{{ meta.idp }}-copper"
|
||||
name="system.cost.copper"
|
||||
value="{{ system.cost.copper }}"
|
||||
>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue