9 lines
419 B
Plaintext
9 lines
419 B
Plaintext
<%= form_for :tag, :url => admin_tag_path(tag), :method => :put, :remote => true do |f| %>
|
|
<%= 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 %>
|
|
<%= f.submit t(:update_) %>
|
|
<% end %> |