OSDN Git Service

fix select item translation
[pettanr/pettanr.git] / app / views / templates / r / form / tag / _select.html.erb
index 9ff0603..67e64e6 100644 (file)
@@ -1,4 +1,4 @@
 <%= select_tag tag.form_field_name, 
-  options_for_select(tag.source_by_filter? ? tag.items : t_select_items(tag.items), :selected => tag.value.to_s), 
+  options_for_select((tag.translate? ? t_select_items(tag.items) : tag.items), :selected => tag.value.to_s), 
   tag.options 
 %>