summaryrefslogtreecommitdiffstats
path: root/templates/repo/wiki/new.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/repo/wiki/new.tmpl')
-rw-r--r--templates/repo/wiki/new.tmpl5
1 files changed, 2 insertions, 3 deletions
diff --git a/templates/repo/wiki/new.tmpl b/templates/repo/wiki/new.tmpl
index ff31df0c32..640f8ca9cd 100644
--- a/templates/repo/wiki/new.tmpl
+++ b/templates/repo/wiki/new.tmpl
@@ -36,9 +36,8 @@
</div>
<div class="divider"></div>
<div class="text right">
- <button class="ui primary button">
- {{ctx.Locale.Tr "repo.wiki.save_page"}}
- </button>
+ <a class="ui basic cancel button" href="{{.Link}}">{{ctx.Locale.Tr "cancel"}}</a>
+ <button class="ui primary button">{{ctx.Locale.Tr "repo.wiki.save_page"}}</button>
</div>
</form>
</div>