- <%= SeminarSignupField.where(id:attr_custom.seminar_signup_field_id).first.title rescue '' %>
+ <%= seminar_signup_field.title rescue '' %>
|
diff --git a/app/views/admin/seminars/_get_display_fields.html.erb b/app/views/admin/seminars/_get_display_fields.html.erb
index c1e9005..88f212e 100644
--- a/app/views/admin/seminars/_get_display_fields.html.erb
+++ b/app/views/admin/seminars/_get_display_fields.html.erb
@@ -22,7 +22,7 @@
<% @field_name_translations << t(th) %>
<% end %>
<% end %>
- <% if @seminar.seminar_signup_field_customs.count != 0 %>
+ <% if false #@seminar.seminar_signup_field_customs.count != 0 %>
<% @seminar.seminar_signup_field_customs.each do |field_set| %>
<% s = SeminarSignupField.where(id:field_set.seminar_signup_field_id).first %>
<% title = s.title rescue '' %>
@@ -104,7 +104,7 @@
<% end %>
<% end %>
<% seminar_signup_field_customs = SeminarSignupFieldCustom.all.map{|field_set| SeminarSignupField.where(id: field_set.seminar_signup_field_id).first}.select{|s| !s.nil?}.uniq{|s| s.key } %>
- <% if seminar_signup_field_customs.count != 0 %>
+ <% if false #seminar_signup_field_customs.count != 0 %>
<% seminar_signup_field_customs.each do |s| %>
<% title = s.title rescue '' %>
<% next if title.blank? %>
|