% type = @translated.class.name.titleize.downcase -%>
<%= t("translations.index.title", :type => type) -%>
<% @translations.each do |translation| %>
-
<%= link_to(TranslationsHelper::available_locales[translation.locale], { :action => :show, :id => h(translation.locale) }) -%>
[ <%= link_to(t('translations.index.edit').downcase, { :id => h(translation.locale), :action => :edit }) -%> |
<%= link_to(t('translations.index.delete').downcase, { :id => h(translation.locale), :action => :destroy },
{ :method => :delete, :confirm => t('translations.index.are_you_sure') }) -%> ]
<% end %>
-
<%= link_to(t("translations.index.back", :type => type), url_for_translated) %>
-
<%= link_to(t("translations.index.new"), { :action => :new }) %>