add handicap mgmt
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user