summaryrefslogtreecommitdiffstats
path: root/templates/repo/create.tmpl
diff options
context:
space:
mode:
authorUnknown <joe2010xtmf@163.com>2014-04-10 18:09:57 -0400
committerUnknown <joe2010xtmf@163.com>2014-04-10 18:09:57 -0400
commit8980675a9f8f8328a81dde63174115c4a11f02a3 (patch)
treeaab77085b8cfe3cfec10839dc1a014f0a569a0b4 /templates/repo/create.tmpl
parent45462662e9bdb001f1cf3d4ca0e4d679757c7642 (diff)
downloadgitea-8980675a9f8f8328a81dde63174115c4a11f02a3.tar.gz
gitea-8980675a9f8f8328a81dde63174115c4a11f02a3.zip
Fix #69
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 dc509fc1cc..97c7945616 100644
--- a/templates/repo/create.tmpl
+++ b/templates/repo/create.tmpl
@@ -4,7 +4,7 @@
<form action="/repo/create" method="post" class="form-horizontal card" id="repo-create">
{{.CsrfTokenHtml}}
<h3>Create New Repository</h3>
- <div class="alert alert-danger form-error{{if .HasError}}{{else}} hidden{{end}}">{{.ErrorMsg}}</div>
+ {{template "base/alert" .}}
<div class="form-group">
<label class="col-md-2 control-label">Owner<strong class="text-danger">*</strong></label>
<div class="col-md-8">