wip menu can now receive form with rest api, but no nonce
This commit is contained in:
11
plugins/fbpatch/html/menu.html
Normal file
11
plugins/fbpatch/html/menu.html
Normal 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>
|
||||
Reference in New Issue
Block a user