Fix TPAC account preferences user/dbs/fix_opac_prefs
authorDan Scott <dscott@laurentian.ca>
Tue, 15 Oct 2013 03:09:54 +0000 (23:09 -0400)
committerDan Scott <dscott@laurentian.ca>
Tue, 15 Oct 2013 03:09:54 +0000 (23:09 -0400)
commit8ed64ac22898ea50e205cb58024db4de0c867bad
tree82645a8c71f47f55aa05732095ada6e4a9f4e695
parentffda0fb55a409ed7dd5e146adce26ee45a3b5dbf
Fix TPAC account preferences

Clean up a few problems in the TPAC "My Account" preferences area:

1. Add a missing </form> closing element, which was preventing any
   submitted changes from actually being posted to the correct URL
   (thus preventing most account preference changes such as
   notifications).
2. Remove trailing semicolon from several generated <option> elements
   for cleaner HTML.
3. Make the aria-label for the element translatable.

As we're touching a majority of the lines in the section and the lines
do not follow normal whitespace standards (mixed tabs, inconsistent
indentation, etc), clean up the whitespace.

Also turn one HTML comment into a Template::Toolkit comment.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
Open-ILS/src/templates/opac/parts/myopac/prefs_base.tt2