<% list_view_image.translations.sort_by{ |t| Refinery::I18n.frontend_locales.index(t.locale)}.each do |translation| %>
<% if translation.image_title.present? %>
<%= link_to refinery.edit_admin_image_path(list_view_image, switch_locale: translation.locale),
class: 'locale', title: translation.locale.upcase do %>
<%= locale_text_icon(translation.locale.upcase) %>
<% end %>
<% end %>
<% end %>
<% end %>