Sha256: 14ecdd0e708004fc483bd1c03c3d7638f46652dd0f4ef8d3fc0d2323b784de38
Contents?: true
Size: 565 Bytes
Versions: 184
Compression:
Stored size: 565 Bytes
Contents
<%= link_to( content_tag(:span, language.label(options[:linkname])).html_safe, show_alchemy_page_path( language.pages.language_roots.first, locale: prefix_locale?(language.code) ? language.code : nil ), class: [ language.code, Alchemy::Language.current.id == language.id ? 'active' : nil, languages.first == language ? 'first' : nil, languages.last == language ? 'last' : nil ].compact, title: options[:show_title] ? Alchemy.t( "#{language.code}.title", scope: 'language_links', default: language.name ) : nil ) %>
Version data entries
184 entries across 184 versions & 1 rubygems