<% AVAILABLE_LANGUAGES.each do |language| %>
  • <%= link_to({ :locale => language[:code] }, { :class => "btn btn-link text-start", :data => { :bs_dismiss => "modal", :language_code => language[:code] } }) do %> <%= language[:native_name] %> <% end %>
  • <% end %>