From 2a4270d1a7b2279768991a4d41c787919c8d6d90 Mon Sep 17 00:00:00 2001 From: Bohung Date: Mon, 27 Dec 2021 11:07:15 +0800 Subject: [PATCH] Change agree field layout. --- app/views/surveys/show.html.erb | 8 +++++++- config/locales/en.yml | 1 + config/locales/zh_tw.yml | 1 + 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/app/views/surveys/show.html.erb b/app/views/surveys/show.html.erb index 636c236..6df7937 100644 --- a/app/views/surveys/show.html.erb +++ b/app/views/surveys/show.html.erb @@ -94,7 +94,13 @@ <% if @survey.enable_consent_feature %>
  • +
  • + <% end %> <% end %> <% @questions.each_with_index do |question, i| %> diff --git a/config/locales/en.yml b/config/locales/en.yml index 9c41295..ee11e19 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -7,6 +7,7 @@ en: 'false': 'No' consent_to_be_used_for_research: "Consent answer to be used for research" agree: Agree + disagree: Disagree consent_contents: '"Consent" contents' enable_consent_feature: 'Enable "Consent" feature' result_score: Result score diff --git a/config/locales/zh_tw.yml b/config/locales/zh_tw.yml index 5923999..381a0f0 100644 --- a/config/locales/zh_tw.yml +++ b/config/locales/zh_tw.yml @@ -9,6 +9,7 @@ zh_tw: 'false': 未勾選 consent_to_be_used_for_research: "同意填答結果被用於研究" agree: 同意 + disagree: 不同意 consent_contents: '"同意書"內容' enable_consent_feature: '開啟"同意書"功能' result_score: 結果分數