%
data2 = @seminar.seminar_submission_field_sets.select{|v| v.field_name=='description'}[0]
show2 = !(data2.disabled) rescue false
name2 = data2['name'][I18n.locale]
description = ""
if show2
description = @con.description.to_s
if @seminar.enable_summary_choice
if (@con.description.to_s.to_i.to_s == @con.description)
description = @seminar.summary_chioices[@con.description.to_i] rescue @con.description
else
description = @con.description.map{|i| @seminar.summary_chioices[i.to_i] rescue "" }.join("
") rescue @con.description
end
end
end
seminar_submission_fields = @seminar.seminar_submission_fields.where(:disabled=>false).asc(:sort_number, :_id)
%>
<%= I18n.t('seminar_signup.file_name') %>: | <%= @con.disp_filename %> |
<%= name2.present? ? "#{name2}:" : '' %> | <%= description.html_safe %> |
<%= sf.title.present? ? "#{sf.title}:" : '' %> | <%= sf.seminar_submission_values.where(:seminar_signup_contribute_id=>@con.id).first.get_value_by_locale(I18n.locale) rescue "" %> |