summaryrefslogtreecommitdiff
path: root/app/views/shared/tokens
diff options
context:
space:
mode:
authorKushal Pandya <kushal@gitlab.com>2017-01-15 11:20:13 -0500
committerKushal Pandya <kushal@gitlab.com>2017-01-24 10:09:28 -0800
commitd15448632a02db0aca12d17bc243f96dbe1be62d (patch)
treee54d75eff97e607760821d5ce8beda4f7d35fb7e /app/views/shared/tokens
parentc5c4b4aaeadda70053288682a2595f3424100095 (diff)
downloadgitlab-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.haml4
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])