<%= t('seminar.title') %> | <% end %> <% if @drag%><% end %> <% @field_name_translations.each_with_index do |trans,i|%> <% next unless @display_field.include?(@field_names[i]) %> | <%= trans %> | <% end %>
---|---|---|
<% end %> <% vals << seminar_signup.seminar_main.title if display_title %> <% @display_field.each_with_index do |fn,i|%> <% names = fn.split(".") %> <% val = "" %> <% if names[0] == "seminar_signup_field_set" %> <% if names[1] == "name" %> <% val = seminar_signup.name val += " |
<% if val[0].class == SeminarSignupContribute #File %>
<% seminar_signup_contribute = val[0] %>
<% description = seminar_signup_contribute.description.to_s %>
<% if @seminar.enable_summary_choice
if (seminar_signup_contribute.description.to_s.to_i.to_s == seminar_signup_contribute.description)
description = @seminar.summary_chioices[seminar_signup_contribute.description.to_i] rescue seminar_signup_contribute.description
else
description = seminar_signup_contribute.description.map{|i| @seminar.summary_chioices[i.to_i] rescue "" }.join(" ") rescue seminar_signup_contribute.description end end %> <%= link_to seminar_signup_contribute.disp_filename , seminar_signup_contribute.file.url, {:target => '_blank', :title => Nokogiri::HTML(description.gsub(" "," , ")).text, :download=>seminar_signup_contribute.disp_filename} if seminar_signup_contribute.file.file %> <% else %> <%= val[0].html_safe.to_s rescue "" %> <% end %> <% if edit_urls[i].present? %> |
<% else %>
<%= val.to_s.html_safe %> | <% end %> <% end %> <% (1...count+1).each do |i|%>
<% end %> <% (0...vals.count).each do |index| %> <% if indices.include?(index) extra_class= "" val = vals[index][i] else extra_class = "repeated" val = vals[index] end %> |
<% if (val.class == SeminarSignupContribute rescue false) #File %>
<% seminar_signup_contribute = val %>
<% description = seminar_signup_contribute.description.to_s %>
<% if @seminar.enable_summary_choice
if (seminar_signup_contribute.description.to_s.to_i.to_s == seminar_signup_contribute.description)
description = @seminar.summary_chioices[seminar_signup_contribute.description.to_i] rescue seminar_signup_contribute.description
else
description = seminar_signup_contribute.description.map{|i| @seminar.summary_chioices[i.to_i] rescue "" }.join(" ") rescue seminar_signup_contribute.description end end %> <%= link_to seminar_signup_contribute.disp_filename , seminar_signup_contribute.file.url, {:target => '_blank', :title => Nokogiri::HTML(description.gsub(" "," , ")).text, :download=>seminar_signup_contribute.disp_filename} if seminar_signup_contribute.file.file %> <% else %> <%= val.html_safe.to_s rescue "" %> <% end %> <% if (edit_urls[index][i].present? rescue false) %> |
<% end %>
|
<% end %> <% (0...@display_field.count).each do |f| %> | <% end %> |