diff options
author | Stan Hu <stanhu@gmail.com> | 2016-10-15 20:31:40 -0700 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2016-10-15 20:31:40 -0700 |
commit | fa25f61d474849a7a1ac893af9896b3227c33404 (patch) | |
tree | 3b32e0b890e796beb1dfad829ee5cd99fc24f7ca | |
parent | a65394f35cc83f342e9b2c654cfb32d3eb4c45e7 (diff) | |
download | gitlab-ce-fa25f61d474849a7a1ac893af9896b3227c33404.tar.gz |
Fix Hash syntax to work for both Ruby 2.1 and 2.3sh-fix-ruby-2-1
-rw-r--r-- | app/views/devise/shared/_tabs_normal.html.haml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/devise/shared/_tabs_normal.html.haml b/app/views/devise/shared/_tabs_normal.html.haml index 48abd6519d6..79b1d447a92 100644 --- a/app/views/devise/shared/_tabs_normal.html.haml +++ b/app/views/devise/shared/_tabs_normal.html.haml @@ -1,5 +1,5 @@ %ul.nav-links.new-session-tabs.nav-tabs{ role: 'tablist'} %li.active{ role: 'presentation' } - %a{ href: '#login-pane', data: {'toggle':'tab'}, role: 'tab'} Sign in + %a{ href: '#login-pane', data: { toggle: 'tab' }, role: 'tab'} Sign in %li{ role: 'presentation'} - %a{ href: '#register-pane', data: {'toggle':'tab'}, role: 'tab'} Register + %a{ href: '#register-pane', data: { toggle: 'tab' }, role: 'tab'} Register |