[GITEA] Add cancel button to wiki

- Add a cancel button to the Edit and New wiki pages.
- Resolves https://codeberg.org/forgejo/forgejo/issues/705

(cherry picked from commit 3284f690ea)
(cherry picked from commit 9f8bf83b0e)
(cherry picked from commit bfd03a9f30)
(cherry picked from commit 6b5d5e0cf7)
(cherry picked from commit 3ef3ec0d82)
(cherry picked from commit 5ae55325ef)
(cherry picked from commit f0894ae003)
(cherry picked from commit 18564b26f6)
(cherry picked from commit 06c130fd1f)
(cherry picked from commit c7e595f903)
This commit is contained in:
Gusted 2023-11-20 09:43:52 +01:00 committed by Earl Warren
parent 0977a1ed75
commit 72b2e7e0d4
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00

View file

@ -39,6 +39,7 @@
<button class="ui primary button">
{{ctx.Locale.Tr "repo.wiki.save_page"}}
</button>
<a class="ui button red" href="{{.Link}}">{{ctx.Locale.Tr "repo.wiki.cancel"}}</a>
</div>
</form>
</div>