Bug 16047 [Follow-up] Software error on deleting a group with no category code
authorOwen Leonard <oleonard@myacpl.org>
Thu, 17 Mar 2016 13:08:39 +0000 (09:08 -0400)
committerFrédéric Demians <f.demians@tamil.fr>
Wed, 27 Apr 2016 14:41:07 +0000 (16:41 +0200)
commit7eb3fc2738dcc02e48ed07305acd0a882a0699bd
treeb7f6dbcde953b447d1cec1dc297628532e911051
parent67acc63bd139b5deae120f6536c0b3e3fa16f941
Bug 16047 [Follow-up] Software error on deleting a group with no category code

This follow-up take the original patch a little further, making category
name required on the entry form as well. Without a category name there
is no label in the interface when selecting a category. That doens't
make any sense.

Also changed on the group entry form:

- Added "required" attribute to labels on required fields.
- Changed "Update" submit button label to "Submit."
- Added a "Cancel" link.
- Added the "validated" class to the form so that our built-in
  validation script will process it (not strictly necessary but makes
  the validation appearance more consistent).

Followed test plan, form displays and behaves as expected.
Signed-off-by: Marc Véron <veron@veron.ch>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Brendan Gallagher brendan@bywatersolutions.com
(cherry picked from commit df127ebad814ad1710b161b85a69d408de95de85)
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
(cherry picked from commit c514e1fee2890660caa36c1dae62bcfbc6f72fc3)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt