diff options
author | Unknwon <joe2010xtmf@163.com> | 2014-08-01 00:06:19 -0400 |
---|---|---|
committer | Unknwon <joe2010xtmf@163.com> | 2014-08-01 00:06:19 -0400 |
commit | dabf5b057c358655d8635ed6ec8666660abeb92b (patch) | |
tree | 7f87b42eef48d6d0ac3f52bcbf856f4c5439551c /templates/repo/create.tmpl | |
parent | 7bbf644dd5eaca77c3e8df57419180486bda0fc2 (diff) | |
download | gitea-dabf5b057c358655d8635ed6ec8666660abeb92b.tar.gz gitea-dabf5b057c358655d8635ed6ec8666660abeb92b.zip |
Finish new migrate page
Diffstat (limited to 'templates/repo/create.tmpl')
-rw-r--r-- | templates/repo/create.tmpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/repo/create.tmpl b/templates/repo/create.tmpl index 13656becc2..a144ccbc36 100644 --- a/templates/repo/create.tmpl +++ b/templates/repo/create.tmpl @@ -36,7 +36,7 @@ </div> <div class="field"> <label class="req" for="repo-name">{{.i18n.Tr "repo.repo_name"}}</label> - <input class="ipt ipt-radius" id="repo-name" name="repo_name" type="text" value="{{.repo_name}}" required /> + <input class="ipt ipt-radius {{if .Err_RepoName}}ipt-error{{end}}" id="repo-name" name="repo_name" type="text" value="{{.repo_name}}" required /> <span class="form-label"></span> <span class="help">{{.i18n.Tr "repo.repo_name_helper" | Str2html}}</span> </div> @@ -47,7 +47,7 @@ </p> <div class="field clear"> <label class="left" for="desc">{{.i18n.Tr "repo.repo_desc"}}</label> - <textarea class="ipt ipt-radius" id="desc" name="desc">{{.desc}}</textarea> + <textarea class="ipt ipt-radius {{if .Err_Description}}ipt-error{{end}}" id="desc" name="desc">{{.desc}}</textarea> </div> <p class="field"> <label for="lang">{{.i18n.Tr "repo.repo_lang"}}</label> |