app/helpers/locomotive/base_helper.rb in locomotive_cms-2.5.0.rc1 vs app/helpers/locomotive/base_helper.rb in locomotive_cms-2.5.0.rc2
- old
+ new
@@ -134,10 +134,10 @@
# @param [ String ] size The width x height (by default, 24x24)
#
# @return [ String ] The HTML image tag with the path to the matching flag.
#
def flag_tag(locale, size = '24x24')
- image_tag("locomotive/icons/flags/#{locale}.png", class: 'flag', size: size)
+ image_tag("locomotive/icons/flags/#{locale}.png", class: "flag flag-#{locale}", size: size)
end
def nocoffee_tag
link_to 'noCoffee', 'http://www.nocoffee.fr', id: 'nocoffee'
end
\ No newline at end of file