mirror of
https://github.com/go-gitea/gitea.git
synced 2026-09-21 12:13:38 +09:00
refactor(templates): update djlint to 1.46.0 and resolve its new findings (#39231)
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
{{if .CanWritePackages}}
|
||||
<div>
|
||||
<form action="{{.PackageDescriptor.VersionWebLink}}/terraform/unlock" method="post">
|
||||
<button class="ui tiny button tw-w-full">{{ctx.Locale.Tr "packages.terraform.unlock"}}</button>
|
||||
<button type="submit" class="ui tiny button tw-w-full">{{ctx.Locale.Tr "packages.terraform.unlock"}}</button>
|
||||
</form>
|
||||
</div>
|
||||
{{end}}
|
||||
@@ -30,7 +30,7 @@
|
||||
{{if .CanWritePackages}}
|
||||
<div>
|
||||
<form action="{{.PackageDescriptor.VersionWebLink}}/terraform/lock" method="post">
|
||||
<button class="ui tiny button tw-w-full">{{ctx.Locale.Tr "packages.terraform.lock"}}</button>
|
||||
<button type="submit" class="ui tiny button tw-w-full">{{ctx.Locale.Tr "packages.terraform.lock"}}</button>
|
||||
</form>
|
||||
</div>
|
||||
{{end}}
|
||||
|
||||
Reference in New Issue
Block a user