fix field error

This commit is contained in:
邱博亞 2023-09-28 00:18:01 +08:00
parent 9e1af5e918
commit 228fcd8781
2 changed files with 3 additions and 2 deletions

View File

@ -47,7 +47,8 @@ class SeminarSignupField
end
def locale
get_data["cross_lang"] == "true" ? false : true
tmp = get_data
!tmp || get_data["cross_lang"] == "true" ? false : true
end
def self_defined_markup_options?

View File

@ -19,7 +19,7 @@
<div class="highlight seminar_privacy">
<%= @seminar_agreement.content.html_safe %>
<%= @seminar_agreement.content.html_safe rescue '' %>
</div>