mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-06 21:45:50 +01:00
Nested property is supported in the mapping definition.
This commit is contained in:
@@ -65,7 +65,7 @@ class CreateRepositoryServlet extends ServletBase {
|
||||
form.validateAsJSON(params)
|
||||
}
|
||||
|
||||
val form = Form(
|
||||
val form = mapping(
|
||||
"name" -> trim(label("Repository name", text(required, maxlength(40), repository))),
|
||||
"description" -> trim(label("Description" , text()))
|
||||
)(RepositoryCreationForm.apply)
|
||||
|
||||
Reference in New Issue
Block a user