adding clojurescript to replace hand written javascript
I hate javascript...
This commit is contained in:
parent
1f46c2daee
commit
cb9f3ca324
11 changed files with 3341 additions and 6 deletions
|
@ -1,5 +1,6 @@
|
|||
{{ $formClasses := "bg-neutral-500 text-neutral-50 placeholder-neutral-300 focus:ring-2 focus:ring-primary-500 focus:ring-offset-2 focus:ring-offset-transparent m-2 p-3 rounded-lg hover:bg-neutral-500 checked:text-neutral-500" }}
|
||||
|
||||
<script src="/js/forms.js"></script>
|
||||
<script>
|
||||
function submitForm(e) {
|
||||
e.preventDefault();
|
||||
|
@ -88,7 +89,7 @@
|
|||
}
|
||||
else {
|
||||
document.getElementById('policy').hidden = true;
|
||||
console.log(document.getElementById('policy'))
|
||||
/* console.log(document.getElementById('policy')) */
|
||||
console.log("NEGATORY");
|
||||
}
|
||||
document.getElementById('warning').style.visibility = 'hidden';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue