Bug 38842: Add a op=cud-null to the form

This will make xt/find-missing-op-in-forms.t pass
But also enforce the use of a op=cud- parameter.

It is at the end of the form element, so if another is passed in the
modal body the one passed will get retrieved properly by CGI->param

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
Jonathan Druart 2025-04-29 15:29:33 +02:00 committed by Katrin Fischer
parent 37538b22a0
commit 877f1fdf79
No known key found for this signature in database
GPG Key ID: 0EF6E2C03357A834
1 changed files with 1 additions and 0 deletions

View File

@ -709,6 +709,7 @@
<button type="button" data-bs-dismiss="modal" class="btn btn-default" id="[% modal_id | html %]-ok">[% t('OK') | html %]</button>
[% END %]
</div>
<input type="hidden" name="op" value="cud-null" /> [%# Must be passed in the content of the modal %]
</form>
</div>
</div>