fix bugs for i18n_variable in page and home

This commit is contained in:
rulingcom authored and ihower committed 2011-04-13 18:22:49 +08:00
1 parent bda67684bd
commit c44b86f284
4 files changed
+7 -7

No files matched your search

+2 -2
View File
@@ -9,8 +9,8 @@
<% @site_valid_locales.each do |locale| %>
<p>
<%= label_tag "#{f}[title]", "#{t('admin.title')} #{locale}" %>
<%= text_field_tag "#{f}[i18n_variable][#{locale}]", (@i18n_variable[locale] if @i18n_variable), :class => 'text' %>
<%= label_tag "home[title]", "#{t('admin.title')} #{locale}" %>
<%= text_field_tag "home[i18n_variable][#{locale}]", (@i18n_variable[locale] if @i18n_variable), :class => 'text' %>
</p>
<% end %>