This repository has been archived on 2024-03-16. You can view files and clone it, but cannot push or open issues or pull requests.
orbit-4-1/app/views/admin/page_parts/_language_bar.html.erb

7 lines
258 B
Plaintext

<%= raw(VALID_LOCALES.map{ |locale|
if @part_locale.to_s.eql?(locale)
t(:_locale, :locale => locale)
else
link_to t(:_locale, :locale => locale), edit_admin_page_part_path(@part, :part_locale => locale), :class => 'reload'
end
}.join(' | ')) %>