aboutsummaryrefslogtreecommitdiffstats
path: root/templates/repo/create.tmpl
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-08-28 18:33:09 +0800
committerUnknwon <u@gogs.io>2015-08-28 18:33:09 +0800
commitbb3b90fcd640f8b80c70a87ec110acba3d3d9c68 (patch)
tree898fa1a7a5a650c73fb8028beb9d160fbf944c51 /templates/repo/create.tmpl
parent46bee50e45ef8f3e9f3727649fa24d50bb2fc782 (diff)
downloadgitea-bb3b90fcd640f8b80c70a87ec110acba3d3d9c68.tar.gz
gitea-bb3b90fcd640f8b80c70a87ec110acba3d3d9c68.zip
#1487 Readme Template
Diffstat (limited to 'templates/repo/create.tmpl')
-rw-r--r--templates/repo/create.tmpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/repo/create.tmpl b/templates/repo/create.tmpl
index 01e9ae1112..c58ee3c5bf 100644
--- a/templates/repo/create.tmpl
+++ b/templates/repo/create.tmpl
@@ -57,7 +57,7 @@
<div class="inline field">
<label>{{.i18n.Tr "repo.repo_lang"}}</label>
<div class="ui multiple search normal selection dropdown">
- <input type="hidden" name="gitignores" value="{{.gitignoresValue}}">
+ <input type="hidden" name="gitignores" value="{{.gitignores}}">
<div class="default text">{{.i18n.Tr "repo.repo_lang_helper"}}</div>
<div class="menu">
{{range .Gitignores}}
@@ -82,7 +82,7 @@
<div class="inline field">
<label>{{.i18n.Tr "repo.readme"}}</label>
<div class="ui selection dropdown">
- <input type="hidden" name="license" value="{{.readme}}">
+ <input type="hidden" name="readme" value="{{.readme}}">
<div class="default text">{{.i18n.Tr "repo.readme_helper"}}</div>
<div class="menu">
{{range .Readmes}}