Resolve "Labels were bold in 10.8 but not with bootstrap4"

This commit is contained in:
Annabel Gray 2018-06-07 20:34:38 +00:00 committed by Clement Ho
parent c9e3a73efd
commit 587afe45fc

View file

@ -5,6 +5,6 @@
- scopes.each do |scope| - scopes.each do |scope|
%fieldset %fieldset
= check_box_tag "#{prefix}[scopes][]", scope, token.scopes.include?(scope), id: "#{prefix}_scopes_#{scope}" = check_box_tag "#{prefix}[scopes][]", scope, token.scopes.include?(scope), id: "#{prefix}_scopes_#{scope}"
= label_tag ("#{prefix}_scopes_#{scope}"), scope = label_tag ("#{prefix}_scopes_#{scope}"), scope, class: "label-light"
%span= t(scope, scope: [:doorkeeper, :scopes]) %span= t(scope, scope: [:doorkeeper, :scopes])
.scope-description= t scope, scope: [:doorkeeper, :scope_desc] .scope-description= t scope, scope: [:doorkeeper, :scope_desc]