diff options
author | Kushal Pandya <kushal@gitlab.com> | 2017-01-15 11:20:13 -0500 |
---|---|---|
committer | Kushal Pandya <kushal@gitlab.com> | 2017-01-24 10:09:28 -0800 |
commit | d15448632a02db0aca12d17bc243f96dbe1be62d (patch) | |
tree | e54d75eff97e607760821d5ce8beda4f7d35fb7e /app/views/shared/tokens | |
parent | c5c4b4aaeadda70053288682a2595f3424100095 (diff) | |
download | gitlab-ce-d15448632a02db0aca12d17bc243f96dbe1be62d.tar.gz |
HAMLLint: Fix `UnnecessaryStringOutput` offences
Diffstat (limited to 'app/views/shared/tokens')
-rw-r--r-- | app/views/shared/tokens/_scopes_form.html.haml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/shared/tokens/_scopes_form.html.haml b/app/views/shared/tokens/_scopes_form.html.haml index 5074afb63a1..8bbaf431536 100644 --- a/app/views/shared/tokens/_scopes_form.html.haml +++ b/app/views/shared/tokens/_scopes_form.html.haml @@ -5,5 +5,5 @@ - 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 - %span= "(#{t(scope, scope: [:doorkeeper, :scopes])})" + = label_tag ("#{prefix}_scopes_#{scope}"), scope + %span= t(scope, scope: [:doorkeeper, :scopes]) |