diff options
author | Luke "Jared" Bennett <lbennett@gitlab.com> | 2017-02-28 19:32:30 +0300 |
---|---|---|
committer | Luke "Jared" Bennett <lbennett@gitlab.com> | 2017-02-28 19:32:30 +0300 |
commit | f6247600a3f5d500952b0ba32e6915a2d045e392 (patch) | |
tree | a2f6095ed2f56d3b18f7307cf1ed0ce4f4a4496d /app/views/groups | |
parent | 9f0e23d6093d67d368485e2ac7e4df0059935770 (diff) |
Review changes
Diffstat (limited to 'app/views/groups')
-rw-r--r-- | app/views/groups/_create_chat_team.html.haml | 2 | ||||
-rw-r--r-- | app/views/groups/edit.html.haml | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/app/views/groups/_create_chat_team.html.haml b/app/views/groups/_create_chat_team.html.haml index b9bf9fe39c2..f0ace28c422 100644 --- a/app/views/groups/_create_chat_team.html.haml +++ b/app/views/groups/_create_chat_team.html.haml @@ -6,7 +6,7 @@ .col-sm-10 .checkbox.js-toggle-container = f.label :create_chat_team do - .js-toggle-button= f.check_box(:create_chat_team, { checked: true }, 'true', 'false') + .js-toggle-button= f.check_box(:create_chat_team, { checked: true }, true, false) Create a Mattermost team for this group %br %small.light.js-toggle-content diff --git a/app/views/groups/edit.html.haml b/app/views/groups/edit.html.haml index c904b25fe94..2706e8692d1 100644 --- a/app/views/groups/edit.html.haml +++ b/app/views/groups/edit.html.haml @@ -22,8 +22,6 @@ = render 'shared/visibility_level', f: f, visibility_level: @group.visibility_level, can_change_visibility_level: can_change_group_visibility_level?(@group), form_model: @group - = render 'create_chat_team', f: f if Gitlab.config.mattermost.enabled - .form-group .col-sm-offset-2.col-sm-10 = render 'shared/allow_request_access', form: f |