10 lines
387 B
Plaintext
10 lines
387 B
Plaintext
<%= 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)})" %>
|
|
<%= f.text_field locale, :class => 'input-large', :value => (@category.title_translations[locale] rescue ''), placeholder: t(:name) %>
|
|
<% end %>
|
|
<% end %>
|