2013-07-02 08:46:44 +00:00
|
|
|
<%= flash_messages %>
|
|
|
|
<%= f.error_messages %>
|
|
|
|
|
|
|
|
<%= f.fields_for :title_translations do |f| %>
|
|
|
|
<% @site_valid_locales.each do |locale| %>
|
|
|
|
<%= label_tag "name-#{locale}", "#{t(:name)} (#{I18nVariable.from_locale(locale)})" %>
|
2013-10-20 22:34:55 +00:00
|
|
|
<%= f.text_field locale, :class => 'input-large', :value => (@category.title_translations[locale] rescue ''), placeholder: t(:name), id: locale %>
|
2013-07-02 08:46:44 +00:00
|
|
|
<% end %>
|
|
|
|
<% end %>
|