Lines 172-178
Link Here
|
172 |
<input type="hidden" id="id" name="id" value="[% av.id | html %]" /> |
172 |
<input type="hidden" id="id" name="id" value="[% av.id | html %]" /> |
173 |
[% END %] |
173 |
[% END %] |
174 |
[% IF ( av && av.is_integer_only ) || category.is_integer_only %] |
174 |
[% IF ( av && av.is_integer_only ) || category.is_integer_only %] |
175 |
<input type="text" inputmode="numeric" pattern="[% num_pattern | $raw %]" id="authorised_value" name="authorised_value" value="[% av.authorised_value | html %]" class="focus" title="Should be numeric" required/> |
175 |
<input type="text" inputmode="numeric" pattern="[% num_pattern | $raw %]" min="-128" max="127" id="authorised_value" name="authorised_value" value="[% av.authorised_value | html %]" class="focus" title="Should be numeric (-128..127)" required/> |
176 |
[% ELSE %] |
176 |
[% ELSE %] |
177 |
<input type="text" id="authorised_value" name="authorised_value" value="[% av.authorised_value | html %]" maxlength="80" class="focus"/> |
177 |
<input type="text" id="authorised_value" name="authorised_value" value="[% av.authorised_value | html %]" maxlength="80" class="focus"/> |
178 |
[% END %] |
178 |
[% END %] |
179 |
- |
|
|