From 090176dcd2e5b89e3cd374ba2aa13f141fa20796 Mon Sep 17 00:00:00 2001 From: Bernie Chiu Date: Tue, 31 Dec 2013 11:42:14 +0800 Subject: [PATCH] Fix wrong displayed field in current locale --- .../back_end/surveys/_questions.html.erb | 34 +++++++++---------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/vendor/built_in_modules/survey/app/views/panel/survey/back_end/surveys/_questions.html.erb b/vendor/built_in_modules/survey/app/views/panel/survey/back_end/surveys/_questions.html.erb index 13c35111..ed6c8516 100644 --- a/vendor/built_in_modules/survey/app/views/panel/survey/back_end/surveys/_questions.html.erb +++ b/vendor/built_in_modules/survey/app/views/panel/survey/back_end/surveys/_questions.html.erb @@ -7,7 +7,7 @@ {{if _id}} {{/if}} -

Q${_length} ${_title_translations[3].en}

+

Q${_length} ${_title_translations[3].<%= @primary_locale %>}

@@ -15,11 +15,11 @@
-
- +
+
-
- +
+
@@ -47,11 +47,11 @@ <%= I18nVariable.from_locale('zh_tw') %> <% end %>
-
- +
+
-
- +
+
@@ -139,11 +139,11 @@ {{/if}}
-
- +
+
-
- +
+
@@ -161,11 +161,11 @@ {{/if}}
-
- +
+
-
- +
+