diff options
author | Lauris BH <lauris@nix.lv> | 2019-11-25 00:06:23 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-25 00:06:23 +0100 |
commit | 95c3dc856a7d4199232549e3b4d76769ef868bda (patch) | |
tree | 40eed5392b00881f5e0e078012cc11e24637913c /templates/repo/issue/milestone_new.tmpl | |
parent | update #9066 Always show Password field on link account sign in page (#9147) (diff) | |
download | forgejo-95c3dc856a7d4199232549e3b4d76769ef868bda.tar.xz forgejo-95c3dc856a7d4199232549e3b4d76769ef868bda.zip |
Fix max length check and limit in multiple repo forms (#9148)
* Fix input field max length for release, label and milestone forms
* Add max length for isseu and PR title
Diffstat (limited to 'templates/repo/issue/milestone_new.tmpl')
-rw-r--r-- | templates/repo/issue/milestone_new.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/issue/milestone_new.tmpl b/templates/repo/issue/milestone_new.tmpl index 30a7d7ebbb..ea704c0561 100644 --- a/templates/repo/issue/milestone_new.tmpl +++ b/templates/repo/issue/milestone_new.tmpl @@ -26,7 +26,7 @@ <div class="eleven wide column"> <div class="field {{if .Err_Title}}error{{end}}"> <label>{{.i18n.Tr "repo.milestones.title"}}</label> - <input name="title" placeholder="{{.i18n.Tr "repo.milestones.title"}}" value="{{.title}}" autofocus required> + <input name="title" placeholder="{{.i18n.Tr "repo.milestones.title"}}" value="{{.title}}" autofocus required maxlength="50"> </div> <div class="field"> <label>{{.i18n.Tr "repo.milestones.desc"}}</label> |