Browse Source

Add label for application scopes (#4691)

* Add label for application scopes

* hint
master
Yamagishi Kazutoshi 7 years ago
committed by Eugen Rochko
parent
commit
b88635202f
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/views/settings/applications/_fields.html.haml

+ 1
- 1
app/views/settings/applications/_fields.html.haml View File

@ -13,9 +13,9 @@
collection: Doorkeeper.configuration.scopes,
wrapper: :with_label,
include_blank: false,
label_method: lambda { |scope| safe_join([scope, content_tag(:span, t("doorkeeper.scopes.#{scope}"), class: 'hint')]) },
selected: f.object.scopes.all,
required: false,
as: :check_boxes,
collection_wrapper_tag: 'ul',
item_wrapper_tag: 'li'

Loading…
Cancel
Save