diff options
author | Ethan Koenig <ethantkoenig@gmail.com> | 2017-07-06 12:05:35 -0400 |
---|---|---|
committer | Ethan Koenig <ethantkoenig@gmail.com> | 2017-07-06 12:07:15 -0400 |
commit | b1d7348a20d7d3927d526b15c1847db6dd7767fa (patch) | |
tree | 50e981a977b0019dcc80fe9db41898c11c70fdb2 /templates/repo/wiki/new.tmpl | |
parent | a52cd59727f438132a13a33c8941aa05e397331e (diff) | |
download | gitea-b1d7348a20d7d3927d526b15c1847db6dd7767fa.tar.gz gitea-b1d7348a20d7d3927d526b15c1847db6dd7767fa.zip |
Fix wiki preview links
Diffstat (limited to 'templates/repo/wiki/new.tmpl')
-rw-r--r-- | templates/repo/wiki/new.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/wiki/new.tmpl b/templates/repo/wiki/new.tmpl index af87e9c43d..cb928b2830 100644 --- a/templates/repo/wiki/new.tmpl +++ b/templates/repo/wiki/new.tmpl @@ -18,7 +18,7 @@ <input name="title" value="{{.title}}" autofocus required> </div> <div class="field"> - <textarea id="edit_area" name="content" data-id="wiki-{{.old_title}}" data-url="{{AppSubUrl}}/api/v1/markdown" data-context="{{.RepoLink}}">{{if .PageIsWikiEdit}}{{.content}}{{else}}{{.i18n.Tr "repo.wiki.welcome"}}{{end}}</textarea required> + <textarea id="edit_area" name="content" data-id="wiki-{{.old_title}}" data-url="{{AppSubUrl}}/api/v1/markdown" data-context="{{.RepoLink}}/wiki">{{if .PageIsWikiEdit}}{{.content}}{{else}}{{.i18n.Tr "repo.wiki.welcome"}}{{end}}</textarea required> </div> <div class="field"> <input name="message" placeholder="{{.i18n.Tr "repo.wiki.default_commit_message"}}"> |