@@ -, +, @@ entry - Go to Administration -> System preferences and Enable the system preference PatronSelfRegistration. - Set the system preference GDPR_Policy to "Enforce". - Go to the OPAC and click the "Register here" link. - Under the "GDPR consent" heading near the bottom of the page, confirm that the "I agree" checkbox lines up with other form fields on the page, and that the "Required" label lines up below it. - Submit the form without checking the GDPR consent checkbox. - The form should not be submitted, and a "This field is required" message should appear next to the checkbox label. --- .../opac-tmpl/bootstrap/css/src/_responsive.scss | 14 +++++++ koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss | 48 ++++++++-------------- .../bootstrap/en/modules/opac-memberentry.tt | 10 +++-- 3 files changed, 39 insertions(+), 33 deletions(-) --- a/koha-tmpl/opac-tmpl/bootstrap/css/src/_responsive.scss +++ a/koha-tmpl/opac-tmpl/bootstrap/css/src/_responsive.scss @@ -95,6 +95,14 @@ li { padding-bottom: .5em; + + &.lradio { + padding-left: 0; + + label { + text-align: left; + } + } } ol { @@ -200,6 +208,12 @@ text-align: center; } + .required_label { + &.required { + margin: 0; + } + } + #searchsubmit { font-weight: bold; } --- a/koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss +++ a/koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss @@ -642,17 +642,15 @@ th { } } -div { - &.required_label { - display: none; +.required_label { + display: none; - &.required { - color: #C00; - display: block; - font-size: 95%; - margin-left: 10rem; - margin-top: 3px; - } + &.required { + color: #C00; + display: block; + font-size: 95%; + margin-left: 10rem; + margin-top: 3px; } } @@ -735,11 +733,6 @@ fieldset { text-align: left; width: auto; } - &.lradio { - float: none; - margin: inherit; - width: auto; - } } fieldset { @@ -750,20 +743,6 @@ fieldset { ol { list-style-type: none; padding: 1em 1em 0 1em; - - &.lradio { - label { - float: none; - margin-right: 0; - width: auto; - - &.lradio { - float: left; - margin-right: 1em; - width: 12em; - } - } - } } li { @@ -774,13 +753,22 @@ fieldset { width: 100%; &.lradio { - padding-left: 8.5em; + padding-left: 9rem; width: auto; label { float: none; margin: 0 0 0 1em; + text-align: left; width: auto; + + &.error { + float: right; + } + } + + .required_label { + margin-left: 1em; } } } --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt +++ a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt @@ -957,9 +957,13 @@ --