Skip to content

Commit

Permalink
Merge PR #1026 into 16.0
Browse files Browse the repository at this point in the history
Signed-off-by pedrobaeza
  • Loading branch information
OCA-git-bot committed Dec 18, 2023
2 parents e79c8a8 + fd69808 commit 56d6f9a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion website_form_require_legal/static/src/js/options.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ odoo.define("website_form_require_legal.form_editor", function (require) {
$(template).html(
qweb.render("website_form_require_legal.s_website_form_legal", {
labelWidth: labelWidth,
termsURL: "terms",
termsURL: "/terms",
})
);
const legal = template.content.firstElementChild;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@
class="s_website_form_input form-check-input"
/>
<span class="form-check-label">
Agree to <a href="#">terms and conditions</a>
Agree to <a
t-attf-href="#{termsURL or '#'}"
>terms and conditions</a>
</span>
<div class="invalid-feedback">
You must agree before submitting.
Expand Down

0 comments on commit 56d6f9a

Please sign in to comment.