diff options
author | Paul Slaughter <pslaughter@gitlab.com> | 2018-06-29 17:34:26 +0300 |
---|---|---|
committer | Clement Ho <clemmakesapps@gmail.com> | 2018-06-29 17:34:26 +0300 |
commit | 07e4455eeb9d5cffd806e5b45c8a618c90e69483 (patch) | |
tree | 14054a4154f17108c6f6cd9c60b324508325f79f /app/views/shared/tokens/_scopes_form.html.haml | |
parent | 1503e89913d24b01cade8cf01a6004d8f2770e06 (diff) |
Style updates for personal access token form
Diffstat (limited to 'app/views/shared/tokens/_scopes_form.html.haml')
-rw-r--r-- | app/views/shared/tokens/_scopes_form.html.haml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/app/views/shared/tokens/_scopes_form.html.haml b/app/views/shared/tokens/_scopes_form.html.haml index e5c82962f82..dcb3fca23f2 100644 --- a/app/views/shared/tokens/_scopes_form.html.haml +++ b/app/views/shared/tokens/_scopes_form.html.haml @@ -3,7 +3,7 @@ - token = local_assigns.fetch(:token) - scopes.each do |scope| - %fieldset - = check_box_tag "#{prefix}[scopes][]", scope, token.scopes.include?(scope), id: "#{prefix}_scopes_#{scope}" - = label_tag ("#{prefix}_scopes_#{scope}"), scope, class: "label-light" - .scope-description= t scope, scope: [:doorkeeper, :scope_desc] + %fieldset.form-group.form-check + = check_box_tag "#{prefix}[scopes][]", scope, token.scopes.include?(scope), id: "#{prefix}_scopes_#{scope}", class: 'form-check-input' + = label_tag ("#{prefix}_scopes_#{scope}"), scope, class: 'label-light form-check-label' + .text-secondary= t scope, scope: [:doorkeeper, :scope_desc] |