summaryrefslogtreecommitdiffstats
path: root/templates/repo/wiki
diff options
context:
space:
mode:
authorRodrigo Villablanca Vásquez <villa061004@gmail.com>2018-04-19 21:25:15 -0300
committerLunny Xiao <xiaolunwen@gmail.com>2018-04-20 08:25:15 +0800
commitf6013d5098e3f11879f2af62e616c15cf86c959e (patch)
tree1c3843731e5271b34f9795fe3b632b762a6bf354 /templates/repo/wiki
parentbac6d05e78603ce9bb028f9ba2b77b9ea2975347 (diff)
downloadgitea-f6013d5098e3f11879f2af62e616c15cf86c959e.tar.gz
gitea-f6013d5098e3f11879f2af62e616c15cf86c959e.zip
Some small template fixes (#3820)
Diffstat (limited to 'templates/repo/wiki')
-rw-r--r--templates/repo/wiki/new.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/wiki/new.tmpl b/templates/repo/wiki/new.tmpl
index 302e5210ec..34c6b2d0ca 100644
--- a/templates/repo/wiki/new.tmpl
+++ b/templates/repo/wiki/new.tmpl
@@ -17,7 +17,7 @@
<input name="title" value="{{.title}}" autofocus required>
</div>
<div class="field">
- <textarea id="edit_area" name="content" data-id="wiki-{{.title}}" data-url="{{AppSubUrl}}/api/v1/markdown" data-context="{{.RepoLink}}/wiki">{{if .PageIsWikiEdit}}{{.content}}{{else}}{{.i18n.Tr "repo.wiki.welcome"}}{{end}}</textarea required>
+ <textarea id="edit_area" name="content" data-id="wiki-{{.title}}" data-url="{{AppSubUrl}}/api/v1/markdown" data-context="{{.RepoLink}}/wiki" required>{{if .PageIsWikiEdit}}{{.content}}{{else}}{{.i18n.Tr "repo.wiki.welcome"}}{{end}}</textarea>
</div>
<div class="field">
<input name="message" placeholder="{{.i18n.Tr "repo.wiki.default_commit_message"}}">