Fix form structure, use of get instead of post and duplicated action input
parent
0071d3da40
commit
c7eac3383a
|
@ -22,8 +22,9 @@ if ( !empty($_REQUEST['did']) ) {
|
|||
<span aria-hidden="true">×</span>
|
||||
</button>
|
||||
</div>
|
||||
<form id="deviceModalForm" name="contentForm" method="post" action="?view=device">
|
||||
|
||||
<div class="modal-body">
|
||||
<form id="deviceModalForm" name="contentForm" method="get" action="?view=device&action=device">
|
||||
<?php
|
||||
// We have to manually insert the csrf key into the form when using a modal generated via ajax call
|
||||
echo getCSRFinputHTML();
|
||||
|
|
Loading…
Reference in New Issue