-# locals:
-#  spaces (array of Space)
-#  user_spaces (array of Space): the spaces to which the user belongs

%ul.list-thumbnails
  - if spaces.count > 0
    - spaces.each do |space|
      %li.list-thumbnail-wrapper{ :class => "#{user_spaces.include?(space) ? 'my-space' : 'not-my-space'}", :name => space.permalink }
        = render "spaces/space_thumbnail", :space => space
  - else
    = t(".no_spaces")

-# locals:
-#  spaces (array of Space)
-#  user_spaces (array of Space): the spaces to which the user belongs

%ul.list-thumbnails
  - if spaces.count > 0
    - spaces.each do |space|
      %li.list-thumbnail-wrapper{ :class => "#{spaces.include?(space) ? 'my-space' : 'not-my-space'}", :name => space.permalink }
        = render "spaces/space_thumbnail", :space => space
  - else
    = t(".no_spaces")

Correct typo on partial variable name
Correct typo on partial variable name
