wip menu can now receive form with rest api, but no nonce

This commit is contained in:
asus
2024-03-23 18:25:43 +01:00
parent b6d1d63b93
commit aae40be620
4 changed files with 36 additions and 2 deletions

View File

@@ -0,0 +1,11 @@
<form action="<?php echo $fetch_url.'/'.$base_rest_route.'/choose'; ?>" method="POST">
<div>
<input type="checkbox" id="calculation_patch" name="calculation" checked />
<label for="calculation_patch">calculation patch</label>
</div>
<div>
<input type="checkbox" id="hide_show_elements" name="hide_show" />
<label for="hide_show_elements">hide/show elements</label>
</div>
<input type="submit" value="send"/>
</form>