Bug 27827: (follow-up) add a hint for clarification
When adding a new authority type, there is no indication of how big the authority type code can be (auth_types.authtypecode in the DB has a maximum length of 10 characters). This patch fixes that. To test, apply the patch and notice the hint appearing right above the "Authority type:" text box as you add a new authority type: it should display "10 characters maximum" in grey colour. Signed-off-by: David Nind <david@davidnind.com> 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:
parent
e20e000691
commit
c359c15436
1 changed files with 1 additions and 0 deletions
|
@ -103,6 +103,7 @@
|
|||
<input type="hidden" name="checked" value="0" />
|
||||
<input type="hidden" name="authtypecode" value="[% authority_type.authtypecode | html %]" />[% authority_type.authtypecode | html %]
|
||||
[% ELSE %]
|
||||
<div class="hint">10 characters maximum</div>
|
||||
<label for="authtypecode" class="required">Authority type: </label>
|
||||
<input id="authtypecode" type="text" class="required" required="required" name="authtypecode" size="20" maxlength="10" />
|
||||
<span class="required">Required</span>
|
||||
|
|
Loading…
Reference in a new issue