fix error

This commit is contained in:
chiu 2020-05-05 21:58:59 +08:00
parent 95009e5c98
commit 3456a79357
2 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@
wb = xlsx_package.workbook
wb.add_worksheet(name: @seminar.title) do |sheet|
wb.add_worksheet(name: (@seminar.title.to_s[0..27]+'...')) do |sheet|
row = [t('seminar_signup.signup_time')]

View File

@ -80,7 +80,7 @@
</div>
<% elsif field_set.field_name== 'status' %>
<%= t("seminar.registration_status_#{seminar_signup.status}") if !seminar_signup.status.blank? %>
<% else %>
<% elsif field_set.field_name != 'recaptcha' %>
<%= seminar_signup.send("#{field_set.field_name}") %>
<% end %>
</td>