Fix missing values in tag form when editing
This commit is contained in:
parent
24523640a7
commit
ff03d66439
|
@ -1,7 +1,7 @@
|
|||
<%= 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 %>
|
||||
<%= I18nVariable.from_locale(locale) %>:<%= f.text_field locale, value: @tag.name_translations[locale] %>
|
||||
<% end %>
|
||||
<% end %>
|
||||
<%= hidden_field_tag :module_app_id, @module_app_id %>
|
||||
|
|
Loading…
Reference in New Issue