diff options
author | Lauris BH <lauris@nix.lv> | 2019-11-25 01:06:23 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-25 01:06:23 +0200 |
commit | 95c3dc856a7d4199232549e3b4d76769ef868bda (patch) | |
tree | 40eed5392b00881f5e0e078012cc11e24637913c /templates/repo/issue/view_title.tmpl | |
parent | e8241bf55e0ff683933f9c7b51b8ee5956965bdf (diff) | |
download | gitea-95c3dc856a7d4199232549e3b4d76769ef868bda.tar.gz gitea-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/view_title.tmpl')
-rw-r--r-- | templates/repo/issue/view_title.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/issue/view_title.tmpl b/templates/repo/issue/view_title.tmpl index 4b254d2c4b..e97ca3265c 100644 --- a/templates/repo/issue/view_title.tmpl +++ b/templates/repo/issue/view_title.tmpl @@ -3,7 +3,7 @@ <h1 class="twelve wide column"> <span class="index">#{{.Issue.Index}}</span> <span id="issue-title" class="has-emoji">{{.Issue.Title}}</span> <div id="edit-title-input" class="ui input" style="display: none"> - <input value="{{.Issue.Title}}"> + <input value="{{.Issue.Title}}" maxlength="255"> </div> </h1> {{if and (or .IsIssueWriter .IsIssuePoster) (not .Repository.IsArchived)}} |