aboutsummaryrefslogtreecommitdiffstats
path: root/templates/repo/migrate/gitea.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/repo/migrate/gitea.tmpl')
-rw-r--r--templates/repo/migrate/gitea.tmpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/repo/migrate/gitea.tmpl b/templates/repo/migrate/gitea.tmpl
index f1d4e4f06b..daa1205557 100644
--- a/templates/repo/migrate/gitea.tmpl
+++ b/templates/repo/migrate/gitea.tmpl
@@ -95,7 +95,7 @@
<div class="inline required field {{if .Err_RepoName}}error{{end}}">
<label for="repo_name">{{.locale.Tr "repo.repo_name"}}</label>
- <input id="repo_name" name="repo_name" value="{{.repo_name}}" required>
+ <input id="repo_name" name="repo_name" value="{{.repo_name}}" required maxlength="100">
</div>
<div class="inline field">
<label>{{.locale.Tr "repo.visibility"}}</label>
@@ -111,7 +111,7 @@
</div>
<div class="inline field {{if .Err_Description}}error{{end}}">
<label for="description">{{.locale.Tr "repo.repo_desc"}}</label>
- <textarea id="description" name="description">{{.description}}</textarea>
+ <textarea id="description" name="description" maxlength="2048">{{.description}}</textarea>
</div>
<div class="inline field">