forked from NYANDEV/forgejo
UI: CURD labels
- fix update lable break connection with repository
This commit is contained in:
parent
3426ae42b3
commit
dc4aab9925
14 changed files with 190 additions and 81 deletions
|
@ -134,6 +134,7 @@ func (f *CreateMilestoneForm) Validate(ctx *macaron.Context, errs binding.Errors
|
|||
// \/ \/ \/ \/
|
||||
|
||||
type CreateLabelForm struct {
|
||||
ID int64
|
||||
Title string `binding:"Required;MaxSize(50)" locale:"repo.issues.label_name"`
|
||||
Color string `binding:"Required;Size(7)" locale:"repo.issues.label_color"`
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue