2013-07-02 08:46:44 +00:00
|
|
|
<%= 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)}" %>
|
2013-10-20 22:34:55 +00:00
|
|
|
<%= f.text_field locale, class: 'input-large', placeholder: "#{t(:name)} #{I18nVariable.from_locale(locale)}", value: (@tag.name_translations[locale] rescue nil), id: locale %>
|
2013-04-26 03:18:57 +00:00
|
|
|
<% end %>
|
2013-07-02 08:46:44 +00:00
|
|
|
<% end %>
|