restrict query selector to edit form (#14307)

Co-authored-by: Lauris BH <lauris@nix.lv>
This commit is contained in:
Norwin 2021-01-15 04:55:51 +00:00 committed by GitHub
parent 6eee9f0f4e
commit a21adf92ec
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -23,7 +23,7 @@
{{.i18n.Tr "repo.issues.label_modify"}}
</div>
<div class="content">
<form class="ui edit-label form" action="{{$.Link}}/edit" method="post">
<form class="ui edit-label form ignore-dirty" action="{{$.Link}}/edit" method="post">
{{.CsrfTokenHtml}}
<input id="label-modal-id" name="id" type="hidden">
<div class="ui grid">