Update index.html

Both PUT and DELETE forms had the same id "testForm2", and DELETE form didn't work because of that; I changed it to "testForm3", now everything works like it's supposed to.
This commit is contained in:
Kate 2017-04-07 22:11:05 +04:00 committed by Kristofer Koishigawa
parent 9e459c0416
commit 8a7f865c59

View File

@ -59,7 +59,7 @@
<button type="submit">Submit Issue</button> <button type="submit">Submit Issue</button>
</form><br> </form><br>
<h3>Delete issue on <i>apitest</i></h3> <h3>Delete issue on <i>apitest</i></h3>
<form id="testForm2" class="border"> <form id="testForm3" class="border">
<input type="text" name="_id" placeholder="_id" style="width: 100px" required=''><br> <input type="text" name="_id" placeholder="_id" style="width: 100px" required=''><br>
<button type="submit">Delete Issue</button> <button type="submit">Delete Issue</button>
</form> </form>