mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-08 03:29:43 +02:00
Backport #23917 by @Zettat123 Fixes #23809 Make the title not required. If the title is empty when creating release (not tag), an error message will be displayed.  Co-authored-by: Zettat123 <zettat123@gmail.com>
This commit is contained in:
1 parent
085b56302c
commit
1b8ecd179b
4 files changed
+9
-2
No files matched your search
@@ -42,7 +42,7 @@
|
||||
<div class="eleven wide column">
|
||||
<div class="field {{if .Err_Title}}error{{end}}">
|
||||
<label>{{.locale.Tr "repo.release.title"}}</label>
|
||||
<input name="title" placeholder="{{.locale.Tr "repo.release.title"}}" value="{{.title}}" autofocus required maxlength="255">
|
||||
<input name="title" placeholder="{{.locale.Tr "repo.release.title"}}" value="{{.title}}" autofocus maxlength="255">
|
||||
</div>
|
||||
<div class="field content-editor">
|
||||
<label>{{.locale.Tr "repo.release.content"}}</label>
|
||||
|
||||
Reference in new issue
Block a user