aboutsummaryrefslogtreecommitdiffstats
path: root/templates/repo/editor/patch.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/repo/editor/patch.tmpl')
-rw-r--r--templates/repo/editor/patch.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/editor/patch.tmpl b/templates/repo/editor/patch.tmpl
index 44c30bd5f9..c9a78cc35f 100644
--- a/templates/repo/editor/patch.tmpl
+++ b/templates/repo/editor/patch.tmpl
@@ -15,7 +15,7 @@
<a class="section" href="{{$.BranchLink}}">{{.BranchName}}</a>
<span>{{ctx.Locale.Tr "repo.editor.or"}} <a href="{{$.BranchLink}}">{{ctx.Locale.Tr "repo.editor.cancel_lower"}}</a></span>
<input type="hidden" id="tree_path" name="tree_path" value="" required>
- <input id="file-name" type="hidden" value="diff.patch">
+ <input id="file-name" maxlength="500" type="hidden" value="diff.patch">
</div>
</div>
<div class="field">