aboutsummaryrefslogtreecommitdiffstats
path: root/templates/repo/create.tmpl
diff options
context:
space:
mode:
authorUnknown <joe2010xtmf@163.com>2014-03-16 02:28:24 -0400
committerUnknown <joe2010xtmf@163.com>2014-03-16 02:28:24 -0400
commit828c89de996c328bb3759d90be8a8a35b4d9cdc0 (patch)
treebc0c01f6fb9905892439e8b0eb3aaa76cd01eacf /templates/repo/create.tmpl
parent631deb2e7d52d474469382c497878bde9083cb60 (diff)
downloadgitea-828c89de996c328bb3759d90be8a8a35b4d9cdc0.tar.gz
gitea-828c89de996c328bb3759d90be8a8a35b4d9cdc0.zip
Clean code
Diffstat (limited to 'templates/repo/create.tmpl')
-rw-r--r--templates/repo/create.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/create.tmpl b/templates/repo/create.tmpl
index 93d33c8744..2de92f515f 100644
--- a/templates/repo/create.tmpl
+++ b/templates/repo/create.tmpl
@@ -59,7 +59,7 @@
<div class="col-md-8 col-md-offset-2">
<div class="checkbox">
<label>
- <input type="checkbox" name="initReadme">
+ <input type="checkbox" name="initReadme" {{if .initReadme}}checked{{end}}>
<strong>Initialize this repository with a README</strong>
</label>
</div>