1
0
Fork 0
forked from forgejo/forgejo

Make sure fmt catches all templates (#20979)

* Make sure fmt catches all templates

Make's `wildcard` is not recursive so it missed many template files, fix
that by using `find`.

* Update Makefile
This commit is contained in:
silverwind 2022-08-31 17:58:54 +02:00 committed by GitHub
parent c80ca94ab1
commit 647b2649b1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
62 changed files with 251 additions and 251 deletions

View file

@ -4,7 +4,7 @@
<div class="ui attached segment">
<p>{{.locale.Tr "settings.twofa_desc"}}</p>
{{if .TOTPEnrolled}}
<p>{{$.locale.Tr "settings.twofa_is_enrolled" | Str2html }}</p>
<p>{{$.locale.Tr "settings.twofa_is_enrolled" | Str2html}}</p>
<form class="ui form" action="{{AppSubUrl}}/user/settings/security/two_factor/regenerate_scratch" method="post" enctype="multipart/form-data">
{{.CsrfTokenHtml}}
<p>{{.locale.Tr "settings.regenerate_scratch_token_desc"}}</p>