Bug 25409: Add missing "Required" text and "required" classes
commit643309499aeaafc7da33abf6c2c52b13ab9321bd
authorSlava Shishkin <slavashishkin@gmail.com>
Sun, 10 May 2020 15:15:09 +0000 (10 18:15 +0300)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 12 May 2020 10:17:45 +0000 (12 11:17 +0100)
tree72f69992be1906e3b5ee80a9766c9726f0f1ca5b
parent6c95f7154856b03b53d620642417ca8179c12377
Bug 25409: Add missing "Required" text and "required" classes

Highlight text with red by adding “required” class to the label and added red
“Required” text next to select field in "onboardingstep5.tt" template.

To test:
    1) Start new installation. During onboarding tool phase you will be
       requested to create a new circulation rule.
    2) Observe that "Units" label has no "required" class and that
       there’s no “Required” text next to a select field.
    3) Apply patch.
    4) Repeat step 2 (you can reload circulation rule creation page).
    5) Observe the error is gone.

Mentored-by: Peter Vashchuk <stalkernoid@gmail.com>
Mentored-by: Andrew Nugged <nugged@gmail.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
koha-tmpl/intranet-tmpl/prog/en/modules/onboarding/onboardingstep5.tt