add handicap mgmt

This commit is contained in:
glmdev
2019-02-10 03:40:12 -06:00
parent 310d1da6f2
commit ed20b0346e
3 changed files with 75 additions and 35 deletions

View File

@@ -45,15 +45,16 @@
const csrf = document.createElement('input')
csrf.type = "hidden"
ids.name = "_token"
ids.value = "{{ csrf_token() }}"
csrf.name = "_token"
csrf.value = "{{ csrf_token() }}"
form.appendChild(ids)
form.appendChild(csrf)
document.appendChild(form)
document.body.appendChild(form)
// console.log(form)
form.submit()
console.log(handicap_ids)
}
</script>
<br><button class="btn btn-success" onclick="submit_handicap()">Save Changes</button>