trabajo-afectivo/app/views/knowledge_base/public/show_alternatives.html.erb

16 lines
510 B
Text
Raw Normal View History

2019-06-04 03:40:48 +00:00
<main class="main main--error">
<div class="container">
<%= icon('mood-ok') %>
<h1><%= zt "#{name} found" %></h1>
<p><%= zt "But it's only available in these languages:" %></p>
<ul>
<% @alternative.translations.each do |translation| %>
<li>
<%= translation.kb_locale.system_locale.name %>:
<%= link_to translation.title, custom_path_if_needed(url_for(locale: translation_locale_code(translation))) %>
</li>
<% end %>
</ul>
</div>
</main>