Remove non-allowed form attribute from a label

This commit is contained in:
jordi fita mas 2023-01-30 16:51:08 +01:00
parent 1a7b9f6bdd
commit 9be4bf538c
1 changed files with 5 additions and 3 deletions

View File

@ -102,14 +102,16 @@
<th scope="row">{{( pgettext "New Line" "title")}}</th>
<td>
<div class="input">
<input form="newtax" type="text" name="name" id="tax_name" required="required" placeholder="{{( pgettext "Tax name" "input" )}}">
<input form="newtax" type="text" name="name" id="tax_name" required="required"
placeholder="{{( pgettext "Tax name" "input" )}}">
<label for="tax_name">{{( pgettext "Tax name" "input" )}}</label>
</div>
</td>
<td colspan="2">
<div class="input">
<input form="newtax" type="number" name="rate" id="tax_rate" min="-99" max="99" required="required" placeholder="{{( pgettext "Rate (%)" "input" )}}">
<label form="newtax" for="tax_rate">{{( pgettext "Rate (%)" "input" )}}</label>
<input form="newtax" type="number" name="rate" id="tax_rate" min="-99" max="99"
required="required" placeholder="{{( pgettext "Rate (%)" "input" )}}">
<label for="tax_rate">{{( pgettext "Rate (%)" "input" )}}</label>
</div>
</td>
</tr>