forked from forgejo/forgejo
Title can be empty when creating tag only (#23917)
Fixes #23809 Make the title not required. If the title is empty when creating release (not tag), an error message will be displayed. 
This commit is contained in:
parent
950c93a66a
commit
ed7245f997
4 changed files with 9 additions and 2 deletions
|
@ -47,7 +47,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">
|
||||
<label>{{.locale.Tr "repo.release.content"}}</label>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue