Bug 25409: Add missing "Required" text and "required" classes
authorSlava Shishkin <slavashishkin@gmail.com>
Sun, 10 May 2020 15:15:09 +0000 (18:15 +0300)
committerJoy Nelson <joy@bywatersolutions.com>
Wed, 13 May 2020 19:19:20 +0000 (19:19 +0000)
commite21179fd9bad471c931ce0e89cd8f4df145af8f1
tree106e46d3408c3446167e1fac6f4947c9c7fd97dd
parent180360e3fde1befd73fb0d626d0fc7ddebc057de
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>
Signed-off-by: Joy Nelson <joy@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/modules/onboarding/onboardingstep5.tt