aboutsummaryrefslogtreecommitdiffstats
path: root/services/forms/repo_form.go
diff options
context:
space:
mode:
Diffstat (limited to 'services/forms/repo_form.go')
-rw-r--r--services/forms/repo_form.go17
1 files changed, 9 insertions, 8 deletions
diff --git a/services/forms/repo_form.go b/services/forms/repo_form.go
index 8108a55f7a..a26a2d89c5 100644
--- a/services/forms/repo_form.go
+++ b/services/forms/repo_form.go
@@ -42,14 +42,15 @@ type CreateRepoForm struct {
Readme string
Template bool
- RepoTemplate int64
- GitContent bool
- Topics bool
- GitHooks bool
- Webhooks bool
- Avatar bool
- Labels bool
- TrustModel string
+ RepoTemplate int64
+ GitContent bool
+ Topics bool
+ GitHooks bool
+ Webhooks bool
+ Avatar bool
+ Labels bool
+ ProtectedBranch bool
+ TrustModel string
}
// Validate validates the fields