2012-02-15 03:42:19 +00:00
|
|
|
<%= form_for :tag, :url => admin_tag_path(tag), :method => :put, :remote => true do |f| %>
|
2013-04-26 03:18:57 +00:00
|
|
|
<%= f.fields_for :name_translations do |f| %>
|
|
|
|
<% @site_valid_locales.each do |locale| %>
|
|
|
|
<%= I18nVariable.from_locale(locale) %>:<%= f.text_field locale, value: @tag.name_translations[locale] %>
|
|
|
|
<% end %>
|
|
|
|
<% end %>
|
|
|
|
<%= hidden_field_tag :module_app_id, @module_app_id %>
|
2012-09-24 00:36:29 +00:00
|
|
|
<%= f.submit t(:update_) %>
|
2012-02-14 16:32:20 +00:00
|
|
|
<% end %>
|