1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 18:28:37 +00:00

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
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">