diff options
author | Ethan Koenig <ethantkoenig@gmail.com> | 2017-11-29 12:52:34 -0800 |
---|---|---|
committer | Lauris BH <lauris@nix.lv> | 2017-11-29 22:52:34 +0200 |
commit | 013db70fce067db78312db3a89c257fc677b87c6 (patch) | |
tree | 945956e1f655b890c5ea9582f7505b3703c91b14 /templates/repo | |
parent | 033ad9a79f3248e00125079cc1717213777a951e (diff) | |
download | gitea-013db70fce067db78312db3a89c257fc677b87c6.tar.gz gitea-013db70fce067db78312db3a89c257fc677b87c6.zip |
Removed unused field in form (#3023)
Diffstat (limited to 'templates/repo')
-rw-r--r-- | templates/repo/wiki/new.tmpl | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/templates/repo/wiki/new.tmpl b/templates/repo/wiki/new.tmpl index cb928b2830..302e5210ec 100644 --- a/templates/repo/wiki/new.tmpl +++ b/templates/repo/wiki/new.tmpl @@ -13,12 +13,11 @@ </div> <form class="ui form" action="{{.Link}}" method="post"> {{.CsrfTokenHtml}} - <input type="hidden" name="old_title" value="{{.old_title}}"> <div class="field {{if .Err_Title}}error{{end}}"> <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}}/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">{{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"}}"> |