View | Details | Raw Unified | Return to bug 28869
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/authorised_values.tt (-2 / +1 lines)
Lines 171-177 Link Here
171
                                            <input type="hidden" id="id" name="id" value="[% av.id | html %]" />
171
                                            <input type="hidden" id="id" name="id" value="[% av.id | html %]" />
172
                                        [% END %]
172
                                        [% END %]
173
                                        [% IF ( av && av.is_integer_only ) || category.is_integer_only %]
173
                                        [% IF ( av && av.is_integer_only ) || category.is_integer_only %]
174
                                            <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/>
174
                                            <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/>
175
                                        [% ELSE %]
175
                                        [% ELSE %]
176
                                            <input type="text" id="authorised_value" name="authorised_value" value="[% av.authorised_value | html %]" maxlength="80" class="focus"/>
176
                                            <input type="text" id="authorised_value" name="authorised_value" value="[% av.authorised_value | html %]" maxlength="80" class="focus"/>
177
                                        [% END %]
177
                                        [% END %]
178
- 

Return to bug 28869