mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-09 04:36:11 +10:00
Merge branch 'improve-project-limit-field' into 'master'
Add min attribute to projects_limit field on user's form This PR adds `min=0` attribute to `:projects_limit` field on user's form in the admin panel. It improves UX disallowing user to enter negative values in this field.  See merge request !3622
This commit is contained in:
@@ -58,6 +58,7 @@ v 8.10.0 (unreleased)
|
||||
- Add date when user joined the team on the member page
|
||||
- Fix 404 redirect after validation fails importing a GitLab project
|
||||
- Added setting to set new users by default as external !4545 (Dravere)
|
||||
- Add min value for project limit field on user's form !3622 (jastkand)
|
||||
|
||||
v 8.9.5
|
||||
- Add more debug info to import/export and memory killer. !5108
|
||||
|
||||
@@ -44,7 +44,7 @@
|
||||
%legend Access
|
||||
.form-group
|
||||
= f.label :projects_limit, class: 'control-label'
|
||||
.col-sm-10= f.number_field :projects_limit, class: 'form-control'
|
||||
.col-sm-10= f.number_field :projects_limit, min: 0, class: 'form-control'
|
||||
|
||||
.form-group
|
||||
= f.label :can_create_group, class: 'control-label'
|
||||
|
||||
Reference in New Issue
Block a user