chore: Remove DeadlineForm

- Introduced in 1a97030017 and removed in
ef6813abc9.
This commit is contained in:
Gusted 2025-01-31 11:16:10 +01:00 committed by David Rotermund
parent 2171cb8a72
commit c3a1112e8e
2 changed files with 0 additions and 14 deletions

View file

@ -740,17 +740,6 @@ type SaveTopicForm struct {
Topics []string `binding:"topics;Required;"`
}
// DeadlineForm hold the validation rules for deadlines
type DeadlineForm struct {
DateString string `form:"date" binding:"Required;Size(10)"`
}
// Validate validates the fields
func (f *DeadlineForm) Validate(req *http.Request, errs binding.Errors) binding.Errors {
ctx := context.GetValidateContext(req)
return middleware.Validate(errs, ctx.Data, f, ctx.Locale)
}
type CommitNotesForm struct {
Notes string
}