diff options
author | Clement Ho <clemmakesapps@gmail.com> | 2018-05-31 19:20:46 +0000 |
---|---|---|
committer | Annabel Gray <annabel.m.gray@gmail.com> | 2018-05-31 19:20:46 +0000 |
commit | 1a6d848db725e8db0595b4d8b71afba2153445ae (patch) | |
tree | c1464f90d03c3a5404023fbb922888c007d744bf /app/views/groups/settings | |
parent | e57ad62d488b15b9e65ea63f4ab78e51336318a5 (diff) | |
download | gitlab-ce-1a6d848db725e8db0595b4d8b71afba2153445ae.tar.gz |
Fix checkbox/radio button structure
Diffstat (limited to 'app/views/groups/settings')
-rw-r--r-- | app/views/groups/settings/_permissions.html.haml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/groups/settings/_permissions.html.haml b/app/views/groups/settings/_permissions.html.haml index 15a5ecf791c..f1f67af1d1e 100644 --- a/app/views/groups/settings/_permissions.html.haml +++ b/app/views/groups/settings/_permissions.html.haml @@ -13,8 +13,8 @@ = s_('GroupSettings|Share with group lock') .col-sm-10 .form-check - = f.label :share_with_group_lock do - = f.check_box :share_with_group_lock, disabled: !can_change_share_with_group_lock?(@group) + = f.check_box :share_with_group_lock, disabled: !can_change_share_with_group_lock?(@group), class: 'form-check-input' + = f.label :share_with_group_lock, class: 'form-check-label' do %strong - group_link = link_to @group.name, group_path(@group) = s_('GroupSettings|Prevent sharing a project within %{group} with other groups').html_safe % { group: group_link } |