10 lines
407 B
Plaintext
10 lines
407 B
Plaintext
<%= flash_messages %>
|
|
<%= f.error_messages %>
|
|
|
|
<%= f.fields_for :name_translations do |f| %>
|
|
<% @site_valid_locales.each do |locale| %>
|
|
<%= f.label :locale, "#{t(:name)} #{I18nVariable.from_locale(locale)}" %>
|
|
<%= f.text_field locale, class: 'input-large', placeholder: "#{t(:name)} #{I18nVariable.from_locale(locale)}", value: (@tag.name_translations[locale] rescue nil) %>
|
|
<% end %>
|
|
<% end %>
|