Implement Web Assets' theme system and selection, and add 'light' theme #118
@ -1,7 +1,7 @@
|
||||
(function() {
|
||||
// Create function agreeWithTerms
|
||||
function agreeWithTerms() {
|
||||
const agreeWithTermsInput = document.querySelector('#id_agreed_with_terms');
|
||||
const agreeWithTermsInput = document.querySelector('.js-agree-with-terms-input');
|
||||
|
||||
agreeWithTermsInput.addEventListener('change', function(e) {
|
||||
const agreeWithTermsBtnSubmit = document.querySelector('.js-agree-with-terms-btn-submit');
|
||||
|
@ -66,7 +66,7 @@
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col mx-4 mt-4">
|
||||
{% include "common/components/field.html" with field=form.agreed_with_terms %}
|
||||
{% include "common/components/field.html" with field=form.agreed_with_terms classes="js-agree-with-terms-input" %}
|
||||
</div>
|
||||
</div>
|
||||
<div class="mt-4">
|
||||
|
Loading…
Reference in New Issue
Block a user