Browse Source

Removed invalid form tag (#14391) (#14395)

introduced by #5073

Co-authored-by: KN4CK3R <KN4CK3R@users.noreply.github.com>
tags/v1.13.2
6543 5 years ago committed by GitHub
parent
commit
4583caa077
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      templates/repo/issue/view_content/sidebar.tmpl

3
templates/repo/issue/view_content/sidebar.tmpl

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

Loading…
Cancel
Save