Bug 27412: Update tools/overduerules.tt to adhere to ACC2

This patch changes the 1 occurance of an input of type="number" to input type="text" inputmode="numeric" pattern="[0-9]*"
The "min" attribute has also been removed (Thanks Owen)

Test plan:
Open the file and ensure that no other inputs of type="number
were missed.

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
James O'Keeffe 2021-01-20 01:04:25 +00:00 committed by Jonathan Druart
parent 39249b18a2
commit a3d5569559
1 changed files with 1 additions and 1 deletions

View File

@ -101,7 +101,7 @@
<tr>
<th scope="row">[% value.line | html %]</th>
<td>
<input type="number" min="1" name="delay[% tab.number | html %]-[% value.overduename | html %]" value="[% value.delay | html %]" />
<input type="text" inputmode="numeric" pattern="[0-9]*" name="delay[% tab.number | html %]-[% value.overduename | html %]" value="[% value.delay | html %]" />
</td>
<td>
<select name="letter[% tab.number | html %]-[% value.overduename | html %]">