forked from gitea/gitea
1
0
Fork 0

Removed invalid form tag (#14391)

introduced by #5073
This commit is contained in:
KN4CK3R 2021-01-19 04:02:47 +01:00 committed by GitHub
parent 185c5ae2c4
commit 8d0e331c0a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 12 deletions

View File

@ -527,7 +527,6 @@
{{ if and .IsRepoAdmin (not .Repository.IsArchived) }} {{ if and .IsRepoAdmin (not .Repository.IsArchived) }}
<div class="ui divider"></div> <div class="ui divider"></div>
<div class="ui watching"> <div class="ui watching">
<div>
<button class="fluid ui show-modal button {{if .Issue.IsLocked }} negative {{ end }}" data-modal="#lock"> <button class="fluid ui show-modal button {{if .Issue.IsLocked }} negative {{ end }}" data-modal="#lock">
{{if .Issue.IsLocked}} {{if .Issue.IsLocked}}
{{svg "octicon-key"}} {{svg "octicon-key"}}
@ -537,8 +536,6 @@
{{.i18n.Tr "repo.issues.lock"}} {{.i18n.Tr "repo.issues.lock"}}
{{end}} {{end}}
</button> </button>
</form>
</div>
</div> </div>